38 lines
721 B
Nix
38 lines
721 B
Nix
|
{ lib
|
||
|
, buildPythonPackage
|
||
|
, fetchPypi
|
||
|
, isPy3k
|
||
|
, certifi
|
||
|
, chardet
|
||
|
, idna
|
||
|
, oauthlib
|
||
|
, requests
|
||
|
, requests_oauthlib
|
||
|
, six
|
||
|
, urllib3
|
||
|
, pytestrunner
|
||
|
, pytest
|
||
|
}:
|
||
|
|
||
|
buildPythonPackage rec {
|
||
|
pname = "atlassian-python-api";
|
||
|
version = "1.15.6";
|
||
|
|
||
|
src = fetchPypi {
|
||
|
inherit pname version;
|
||
|
sha256 = "0nn3g2sb0pqfacsqcw94n8v9jbn4ip0pvhvczasfvks2w9q9sij7";
|
||
|
};
|
||
|
|
||
|
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 ];
|
||
|
};
|
||
|
}
|
||
|
|