13 buildPythonPackage rec {
14 pname = "sqliteschema";
18 src = fetchFromGitHub {
20 repo = "sqliteschema";
22 hash = "sha256-IzHdYBnh6udVsanWTPSsX4p4PG934YCdzs9Ow/NW86E=";
25 nativeBuildInputs = [ setuptools ];
27 propagatedBuildInputs = [
39 pythonImportsCheck = [ "sqliteschema" ];
41 # Enabling tests would trigger infinite recursion due to circular
42 # dependency between this package and simplesqlite.
43 # Therefore, we enable tests only when building passthru.tests.
45 passthru.tests.pytest = sqliteschema.overridePythonAttrs (_: {
50 description = "Python library to dump table schema of a SQLite database file";
51 homepage = "https://github.com/thombashi/sqliteschema";
52 license = licenses.mit;
53 maintainers = with maintainers; [ henrirosten ];