2020-01-20 16:57:41 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, isPy3k
|
|
|
|
, certifi
|
|
|
|
, chardet
|
|
|
|
, idna
|
|
|
|
, oauthlib
|
|
|
|
, requests
|
|
|
|
, requests_oauthlib
|
|
|
|
, six
|
|
|
|
, urllib3
|
|
|
|
, pytestrunner
|
|
|
|
, pytest
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "atlassian-python-api";
|
2020-07-06 08:54:22 +01:00
|
|
|
version = "1.16.0";
|
2020-01-20 16:57:41 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-07-06 08:54:22 +01:00
|
|
|
sha256 = "1sp036192vdl5nqifcswg2j838vf8i9k8bfd0w4qh1vz4f0pjz7y";
|
2020-01-20 16:57:41 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [ pytestrunner pytest ];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ oauthlib requests requests_oauthlib six ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Python Atlassian REST API Wrapper";
|
|
|
|
homepage = "https://github.com/atlassian-api/atlassian-python-api";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = [ maintainers.arnoldfarkas ];
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|