Files
nixpkgs/pkgs/development/python-modules/sqlite-utils/default.nix
Denys Pavlov a25c61c203 python3Packages.sqlite-utils: 3.19 -> 3.22
Clean up package:
- remove test patch, as it's included in 3.20 (simonw/sqlite-utils@ee13f98c2c)
- pytest-runner is removed from setup.py in (simonw/sqlite-utils@f3fd861311)
- replace `dateutils` with `python-dateutil` (simonw/sqlite-utils@bc4c42d688)
2022-01-25 09:40:18 -08:00

45 lines
838 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, fetchpatch
, pythonOlder
, click
, click-default-group
, python-dateutil
, sqlite-fts4
, tabulate
, pytestCheckHook
, hypothesis
}:
buildPythonPackage rec {
pname = "sqlite-utils";
version = "3.22";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "24803ea4d63e2123d2040db2da43fea95fabada80e1af1fe1da69643ae376689";
};
propagatedBuildInputs = [
click
click-default-group
python-dateutil
sqlite-fts4
tabulate
];
checkInputs = [
pytestCheckHook
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 ];
};
}