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-08-29 12:41:47 +01:00
|
|
|
version = "1.16.1";
|
2020-08-25 03:07:09 +01:00
|
|
|
|
2020-01-20 16:57:41 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-08-29 12:41:47 +01:00
|
|
|
sha256 = "b672131be7cc5e239c465909454542623c0aeb0a4d3b05e6a25ee9459959c11d";
|
2020-01-20 16:57:41 +00:00
|
|
|
};
|
2020-08-25 03:07:09 +01:00
|
|
|
|
2020-01-20 16:57:41 +00:00
|
|
|
checkInputs = [ pytestrunner pytest ];
|
2020-08-25 03:07:09 +01:00
|
|
|
|
2020-01-20 16:57:41 +00:00
|
|
|
propagatedBuildInputs = [ oauthlib requests requests_oauthlib six ];
|
2020-08-25 03:07:09 +01:00
|
|
|
|
2020-01-20 16:57:41 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Python Atlassian REST API Wrapper";
|
|
|
|
homepage = "https://github.com/atlassian-api/atlassian-python-api";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = [ maintainers.arnoldfarkas ];
|
|
|
|
};
|
|
|
|
}
|