f34ce41345
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
55 lines
1.1 KiB
Nix
55 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
beautifulsoup4,
|
|
deprecated,
|
|
jmespath,
|
|
lxml,
|
|
oauthlib,
|
|
requests,
|
|
requests-kerberos,
|
|
requests-oauthlib,
|
|
six,
|
|
pytestCheckHook,
|
|
pythonOlder,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "atlassian-python-api";
|
|
version = "3.41.14";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "atlassian-api";
|
|
repo = pname;
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-cXVHGEOvEuSH19mub9u6kjK3epetN3IeXlHxwiBzTPY=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
beautifulsoup4
|
|
deprecated
|
|
jmespath
|
|
lxml
|
|
oauthlib
|
|
requests
|
|
requests-kerberos
|
|
requests-oauthlib
|
|
six
|
|
];
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
pythonImportsCheck = [ "atlassian" ];
|
|
|
|
meta = with lib; {
|
|
description = "Python Atlassian REST API Wrapper";
|
|
homepage = "https://github.com/atlassian-api/atlassian-python-api";
|
|
changelog = "https://github.com/atlassian-api/atlassian-python-api/releases/tag/${version}";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ arnoldfarkas ];
|
|
};
|
|
}
|