diff options
Diffstat (limited to 'infra/libkookie/nixpkgs/pkgs/development/python-modules/sqlite-utils/default.nix')
-rw-r--r-- | infra/libkookie/nixpkgs/pkgs/development/python-modules/sqlite-utils/default.nix | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/infra/libkookie/nixpkgs/pkgs/development/python-modules/sqlite-utils/default.nix b/infra/libkookie/nixpkgs/pkgs/development/python-modules/sqlite-utils/default.nix new file mode 100644 index 000000000000..6e17fc4f38e2 --- /dev/null +++ b/infra/libkookie/nixpkgs/pkgs/development/python-modules/sqlite-utils/default.nix @@ -0,0 +1,42 @@ +{ lib +, buildPythonPackage +, fetchPypi +, isPy3k +, click +, click-default-group +, tabulate +, pytestCheckHook +, pytestrunner +, black +}: + +buildPythonPackage rec { + pname = "sqlite-utils"; + version = "3.0"; + disabled = !isPy3k; + + src = fetchPypi { + inherit pname version; + sha256 = "a158265fde85a6757b7f09b568b1f7d6eaf75eaae208be27336f09dc048e5bcf"; + }; + + propagatedBuildInputs = [ + click + click-default-group + tabulate + ]; + + checkInputs = [ + pytestCheckHook + pytestrunner + black + ]; + + meta = with lib; { + description = "Python CLI utility and library for manipulating SQLite databases"; + homepage = "https://github.com/simonw/sqlite-utils"; + license = licenses.asl20; + maintainers = [ maintainers.meatcar ]; + }; + +} |