b41113241d
GitOrigin-RevId: ae1dc133ea5f1538d035af41e5ddbc2ebcb67b90
49 lines
898 B
Nix
Executable file
49 lines
898 B
Nix
Executable file
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, deprecated
|
|
, oauthlib
|
|
, requests
|
|
, requests-oauthlib
|
|
, six
|
|
, pytestCheckHook
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "atlassian-python-api";
|
|
version = "3.28.1";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "atlassian-api";
|
|
repo = pname;
|
|
rev = "refs/tags/${version}";
|
|
sha256 = "sha256-ZKRmjfH3s35DU1Mut63YuN6opKzg2gpyunWYjg/FbHA=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
deprecated
|
|
oauthlib
|
|
requests
|
|
requests-oauthlib
|
|
six
|
|
];
|
|
|
|
checkInputs = [
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"atlassian"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Python Atlassian REST API Wrapper";
|
|
homepage = "https://github.com/atlassian-api/atlassian-python-api";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ arnoldfarkas ];
|
|
};
|
|
}
|