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
20}:
21
22buildPythonPackage rec {
23 pname = "patrowl4py";
24 version = "1.1.9";
25
26 src = fetchFromGitHub {
27 owner = "Patrowl";
28 repo = "Patrowl4py";
29 rev = version;
30 hash = "sha256-ZGvntLbXIWmL0WoT+kQoNT6gDPgsSKwHQQjYlarvnKo=";
31 };
32
33 propagatedBuildInputs = [
34 attrs
35 certifi
36 chardet
37 idna
38 iniconfig
39 more-itertools
40 packaging
41 pluggy
42 py
43 pyparsing
44 python-slugify
45 requests
46 six
47 text-unidecode
48 toml
49 urllib3
50 ];
51
52 # Tests require network access
53 doCheck = false;
54
55 pythonImportsCheck = [
56 "patrowl4py"
57 ];
58
59 meta = with lib; {
60 description = "Python API Client for PatrOwl";
61 homepage = "https://github.com/Patrowl/Patrowl4py";
62 license = licenses.agpl3Only;
63 maintainers = with maintainers; [ fab ];
64 };
65}