mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 05:31:22 +00:00
38 lines
721 B
Nix
Executable file
38 lines
721 B
Nix
Executable file
{ 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 ];
|
|
};
|
|
}
|
|
|