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