2020-04-24 23:36:52 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, isPy3k
|
|
|
|
, certifi
|
|
|
|
, chardet
|
2020-12-07 07:45:13 +00:00
|
|
|
, deprecated
|
2020-04-24 23:36:52 +00:00
|
|
|
, idna
|
|
|
|
, oauthlib
|
|
|
|
, requests
|
|
|
|
, requests_oauthlib
|
|
|
|
, six
|
|
|
|
, urllib3
|
|
|
|
, pytestrunner
|
|
|
|
, pytest
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "atlassian-python-api";
|
2020-12-07 07:45:13 +00:00
|
|
|
version = "2.1.2";
|
2020-09-25 04:45:31 +00:00
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-12-07 07:45:13 +00:00
|
|
|
sha256 = "f852bfd293fdcb0ab2d7a9ea907f8303cf14fe6f55e90c103d4de00393ea9555";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
2020-09-25 04:45:31 +00:00
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
checkInputs = [ pytestrunner pytest ];
|
2020-09-25 04:45:31 +00:00
|
|
|
|
2020-12-07 07:45:13 +00:00
|
|
|
propagatedBuildInputs = [ deprecated oauthlib requests requests_oauthlib six ];
|
2020-09-25 04:45:31 +00:00
|
|
|
|
2020-04-24 23:36:52 +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 ];
|
|
|
|
};
|
|
|
|
}
|