1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 beautifulsoup4,
6 deprecated,
7 jmespath,
8 lxml,
9 oauthlib,
10 requests,
11 requests-kerberos,
12 requests-oauthlib,
13 six,
14 typing-extensions,
15 pytestCheckHook,
16 pythonOlder,
17}:
18
19buildPythonPackage rec {
20 pname = "atlassian-python-api";
21 version = "4.0.7";
22 format = "setuptools";
23
24 disabled = pythonOlder "3.7";
25
26 src = fetchFromGitHub {
27 owner = "atlassian-api";
28 repo = "atlassian-python-api";
29 tag = version;
30 hash = "sha256-8zfM/3apGMo6sTPA5ESu2SkgVOJUA09Wz/pGR12fA7c=";
31 };
32
33 dependencies = [
34 beautifulsoup4
35 deprecated
36 jmespath
37 lxml
38 oauthlib
39 requests
40 requests-kerberos
41 requests-oauthlib
42 six
43 typing-extensions
44 ];
45
46 nativeCheckInputs = [ pytestCheckHook ];
47
48 pythonImportsCheck = [ "atlassian" ];
49
50 meta = with lib; {
51 description = "Python Atlassian REST API Wrapper";
52 homepage = "https://github.com/atlassian-api/atlassian-python-api";
53 changelog = "https://github.com/atlassian-api/atlassian-python-api/releases/tag/${src.tag}";
54 license = licenses.asl20;
55 maintainers = with maintainers; [ arnoldfarkas ];
56 };
57}