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.41.3"; 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 hash = "sha256-MIzBuIeQfAVlllaU02htx1eufRlpe+V9Kzo+EFF45ME="; 25 }; 26 27 propagatedBuildInputs = [ 28 deprecated 29 oauthlib 30 requests 31 requests-oauthlib 32 six 33 ]; 34 35 nativeCheckInputs = [ 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 changelog = "https://github.com/atlassian-api/atlassian-python-api/releases/tag/${version}"; 47 license = licenses.asl20; 48 maintainers = with maintainers; [ arnoldfarkas ]; 49 }; 50}