5557ff764c
GitOrigin-RevId: 988cc958c57ce4350ec248d2d53087777f9e1949
49 lines
904 B
Nix
Executable file
49 lines
904 B
Nix
Executable file
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, deprecated
|
|
, oauthlib
|
|
, requests
|
|
, requests-oauthlib
|
|
, six
|
|
, pytestCheckHook
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "atlassian-python-api";
|
|
version = "3.33.0";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "atlassian-api";
|
|
repo = pname;
|
|
rev = "refs/tags/${version}";
|
|
sha256 = "sha256-vn2bI6wyYAhCxkiL4oEpJFwFicJScvhMfwLD6g6pVw8=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
deprecated
|
|
oauthlib
|
|
requests
|
|
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";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ arnoldfarkas ];
|
|
};
|
|
}
|