1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, deprecated 5, oauthlib 6, requests 7, requests-oauthlib 8, six 9, pytestCheckHook 10, pythonOlder 11}: 12 13buildPythonPackage rec { 14 pname = "atlassian-python-api"; 15 version = "3.28.1"; 16 format = "setuptools"; 17 18 disabled = pythonOlder "3.7"; 19 20 src = fetchFromGitHub { 21 owner = "atlassian-api"; 22 repo = pname; 23 rev = "refs/tags/${version}"; 24 sha256 = "sha256-ZKRmjfH3s35DU1Mut63YuN6opKzg2gpyunWYjg/FbHA="; 25 }; 26 27 propagatedBuildInputs = [ 28 deprecated 29 oauthlib 30 requests 31 requests-oauthlib 32 six 33 ]; 34 35 checkInputs = [ 36 pytestCheckHook 37 ]; 38 39 pythonImportsCheck = [ 40 "atlassian" 41 ]; 42 43 meta = with lib; { 44 description = "Python Atlassian REST API Wrapper"; 45 homepage = "https://github.com/atlassian-api/atlassian-python-api"; 46 license = licenses.asl20; 47 maintainers = with maintainers; [ arnoldfarkas ]; 48 }; 49}