Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / aiosql / default.nix
blobac2ff4a650a87aa1655ba55630fbf92269af3206
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pg8000
5 , pytest-asyncio
6 , pytestCheckHook
7 , pythonOlder
8 , setuptools
9 , setuptools-scm
10 , sphinx-rtd-theme
11 , sphinxHook
14 buildPythonPackage rec {
15   pname = "aiosql";
16   version = "10.1";
17   pyproject = true;
19   disabled = pythonOlder "3.8";
21   outputs = [
22     "doc"
23     "out"
24   ];
26   src = fetchFromGitHub {
27     owner = "nackjicholson";
28     repo = "aiosql";
29     rev = "refs/tags/${version}";
30     hash = "sha256-KlDwvoU0GYCN+ZCp4pp557qf9ChceS4NeA0Yiq+g3YQ=";
31   };
33   sphinxRoot = "docs/source";
35   nativeBuildInputs = [
36     setuptools
37     setuptools-scm
38     sphinx-rtd-theme
39     sphinxHook
40   ];
42   propagatedBuildInputs = [
43     pg8000
44   ];
46   nativeCheckInputs = [
47     pytest-asyncio
48     pytestCheckHook
49   ];
51   pythonImportsCheck = [
52     "aiosql"
53   ];
55   meta = with lib; {
56     description = "Simple SQL in Python";
57     homepage = "https://nackjicholson.github.io/aiosql/";
58     changelog = "https://github.com/nackjicholson/aiosql/releases/tag/${version}";
59     license = with licenses; [ bsd2 ];
60     maintainers = with maintainers; [ kaction ];
61   };