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-05-09 11:01:43 +01:00
|
|
|
version = "1.15.7";
|
2020-01-20 16:57:41 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-05-09 11:01:43 +01:00
|
|
|
sha256 = "b54cce1ca4bea838a949b4362410b1d717597951e5b7efbfa34ce89bc5df805e";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|