Loading pkgs/development/python-modules/sqliteschema/default.nix 0 → 100644 +55 −0 Original line number Diff line number Diff line { lib , buildPythonPackage , fetchFromGitHub , mbstrdecoder , setuptools , simplesqlite , sqliteschema , tabledata , typepy , pytestCheckHook }: buildPythonPackage rec { pname = "sqliteschema"; version = "1.4.0"; pyproject = true; src = fetchFromGitHub { owner = "thombashi"; repo = "sqliteschema"; rev = "v${version}"; hash = "sha256-IzHdYBnh6udVsanWTPSsX4p4PG934YCdzs9Ow/NW86E="; }; nativeBuildInputs = [ setuptools ]; propagatedBuildInputs = [ mbstrdecoder tabledata typepy ]; nativeCheckInputs = [ pytestCheckHook simplesqlite sqliteschema ]; pythonImportsCheck = [ "sqliteschema" ]; # Enabling tests would trigger infinite recursion due to circular # dependency between this package and simplesqlite. # Therefore, we enable tests only when building passthru.tests. doCheck = false; passthru.tests.pytest = sqliteschema.overridePythonAttrs (_: { doCheck = true; }); meta = with lib; { description = "Python library to dump table schema of a SQLite database file"; homepage = "https://github.com/thombashi/sqliteschema"; license = licenses.mit; maintainers = with maintainers; [ henrirosten ]; }; } pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -14276,6 +14276,8 @@ self: super: with self; { sqlite-utils = callPackage ../development/python-modules/sqlite-utils { }; sqliteschema = callPackage ../development/python-modules/sqliteschema { }; sqlmap = callPackage ../development/python-modules/sqlmap { }; sqlmodel = callPackage ../development/python-modules/sqlmodel { }; Loading Loading
pkgs/development/python-modules/sqliteschema/default.nix 0 → 100644 +55 −0 Original line number Diff line number Diff line { lib , buildPythonPackage , fetchFromGitHub , mbstrdecoder , setuptools , simplesqlite , sqliteschema , tabledata , typepy , pytestCheckHook }: buildPythonPackage rec { pname = "sqliteschema"; version = "1.4.0"; pyproject = true; src = fetchFromGitHub { owner = "thombashi"; repo = "sqliteschema"; rev = "v${version}"; hash = "sha256-IzHdYBnh6udVsanWTPSsX4p4PG934YCdzs9Ow/NW86E="; }; nativeBuildInputs = [ setuptools ]; propagatedBuildInputs = [ mbstrdecoder tabledata typepy ]; nativeCheckInputs = [ pytestCheckHook simplesqlite sqliteschema ]; pythonImportsCheck = [ "sqliteschema" ]; # Enabling tests would trigger infinite recursion due to circular # dependency between this package and simplesqlite. # Therefore, we enable tests only when building passthru.tests. doCheck = false; passthru.tests.pytest = sqliteschema.overridePythonAttrs (_: { doCheck = true; }); meta = with lib; { description = "Python library to dump table schema of a SQLite database file"; homepage = "https://github.com/thombashi/sqliteschema"; license = licenses.mit; maintainers = with maintainers; [ henrirosten ]; }; }
pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -14276,6 +14276,8 @@ self: super: with self; { sqlite-utils = callPackage ../development/python-modules/sqlite-utils { }; sqliteschema = callPackage ../development/python-modules/sqliteschema { }; sqlmap = callPackage ../development/python-modules/sqlmap { }; sqlmodel = callPackage ../development/python-modules/sqlmodel { }; Loading