Merge pull request #99359 from meatcar/sqlite-utils

pythonPackages.sqlite-utils: init at 2.22
This commit is contained in:
Sarah Brofeldt
2020-11-06 19:00:55 +01:00
committed by GitHub
4 changed files with 52 additions and 0 deletions

View File

@@ -0,0 +1,42 @@
{ lib
, buildPythonPackage
, fetchPypi
, isPy3k
, click
, click-default-group
, tabulate
, pytestCheckHook
, pytestrunner
, black
}:
buildPythonPackage rec {
pname = "sqlite-utils";
version = "2.22";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "0g8zzp4qw6miijirykjcd78ib027k7dmg6lb9m4xysvah5jh8vfv";
};
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 ];
};
}