python3Packages.sqlite-utils: 3.9.1 -> 3.17

This commit is contained in:
Martin Weinelt 2021-08-26 21:32:45 +02:00
parent 31237d9261
commit 1c2d347d63

View File

@ -4,36 +4,38 @@
, pythonOlder
, click
, click-default-group
, dateutils
, sqlite-fts4
, tabulate
, pytestCheckHook
, pytest-runner
, black
, hypothesis
, sqlite
}:
buildPythonPackage rec {
pname = "sqlite-utils";
version = "3.9.1";
version = "3.17";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "a08ed62eb269e26ae9c35b9be9cd3d395b0522157e6543128a40cc5302d8aa81";
sha256 = "77acd202aa568a1f6888c5d8879f306bb3f8acedc82df0df98eb615caa491abb";
};
postPatch = ''
substituteInPlace setup.py \
--replace '"pytest-runner"' ""
'';
propagatedBuildInputs = [
click
click-default-group
dateutils
sqlite-fts4
tabulate
];
checkInputs = [
pytestCheckHook
pytest-runner
black
hypothesis
];
@ -43,5 +45,4 @@ buildPythonPackage rec {
license = licenses.asl20;
maintainers = with maintainers; [ meatcar ];
};
}