perlPackages.NetAsyncWebSocket: 0.13 -> 0.14 (#352432)
[NixPkgs.git] / pkgs / development / python-modules / sqlite-utils / default.nix
blob07cc92b9d4339d52928b84917dada210c70a67c1
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   pythonOlder,
6   click,
7   click-default-group,
8   python-dateutil,
9   sqlite-fts4,
10   tabulate,
11   pluggy,
12   pytestCheckHook,
13   hypothesis,
14   testers,
15   sqlite-utils,
16   setuptools,
18 buildPythonPackage rec {
19   pname = "sqlite-utils";
20   version = "3.38";
21   pyproject = true;
23   build-system = [ setuptools ];
25   disabled = pythonOlder "3.7";
27   src = fetchPypi {
28     inherit version;
29     pname = "sqlite_utils";
30     hash = "sha256-Gud7kxOEBSIFoVR41ClGT2xno6w7Tq/TxnSskA9iOqs=";
31   };
33   dependencies = [
34     click
35     click-default-group
36     python-dateutil
37     sqlite-fts4
38     tabulate
39     pluggy
40   ];
42   nativeCheckInputs = [
43     pytestCheckHook
44     hypothesis
45   ];
47   pythonImportsCheck = [ "sqlite_utils" ];
49   passthru.tests.version = testers.testVersion { package = sqlite-utils; };
51   meta = with lib; {
52     description = "Python CLI utility and library for manipulating SQLite databases";
53     mainProgram = "sqlite-utils";
54     homepage = "https://github.com/simonw/sqlite-utils";
55     changelog = "https://github.com/simonw/sqlite-utils/releases/tag/${version}";
56     license = licenses.asl20;
57     maintainers = with maintainers; [
58       meatcar
59       techknowlogick
60     ];
61   };