Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / patrowl4py / default.nix
blobe756dc838019cf9450e32b3e5f7c35fb1e4848a7
1 { lib
2 , attrs
3 , buildPythonPackage
4 , certifi
5 , chardet
6 , fetchFromGitHub
7 , idna
8 , iniconfig
9 , more-itertools
10 , packaging
11 , pluggy
12 , py
13 , pyparsing
14 , python-slugify
15 , requests
16 , six
17 , text-unidecode
18 , toml
19 , urllib3
22 buildPythonPackage rec {
23   pname = "patrowl4py";
24   version = "1.1.9";
25   format = "setuptools";
27   src = fetchFromGitHub {
28     owner = "Patrowl";
29     repo = "Patrowl4py";
30     rev = version;
31     hash = "sha256-ZGvntLbXIWmL0WoT+kQoNT6gDPgsSKwHQQjYlarvnKo=";
32   };
34   propagatedBuildInputs = [
35     attrs
36     certifi
37     chardet
38     idna
39     iniconfig
40     more-itertools
41     packaging
42     pluggy
43     py
44     pyparsing
45     python-slugify
46     requests
47     six
48     text-unidecode
49     toml
50     urllib3
51   ];
53   # Tests require network access
54   doCheck = false;
56   pythonImportsCheck = [
57     "patrowl4py"
58   ];
60   meta = with lib; {
61     description = "Python API Client for PatrOwl";
62     homepage = "https://github.com/Patrowl/Patrowl4py";
63     license = licenses.agpl3Only;
64     maintainers = with maintainers; [ fab ];
65   };