nixpkgs/pkgs/development/python-modules/sqlite-utils/default.nix

48 lines
833 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, click
, click-default-group
, sqlite-fts4
, tabulate
, pytestCheckHook
, pytestrunner
, black
, hypothesis
, sqlite
}:
buildPythonPackage rec {
pname = "sqlite-utils";
2021-02-18 16:36:57 +00:00
version = "3.5";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
2021-02-18 16:36:57 +00:00
sha256 = "sha256-i9SnT+DcQOcujV25bD/SNV1uRA2IgfiSWhEWlQC5TiA=";
};
propagatedBuildInputs = [
click
click-default-group
sqlite-fts4
tabulate
];
checkInputs = [
pytestCheckHook
pytestrunner
black
hypothesis
];
meta = with lib; {
description = "Python CLI utility and library for manipulating SQLite databases";
homepage = "https://github.com/simonw/sqlite-utils";
license = licenses.asl20;
maintainers = with maintainers; [ meatcar ];
};
}