forked from mirrors/nixpkgs
6549f6357b
The pypi source code doesn't contain the response stubs necessary for the tests to pass
36 lines
735 B
Nix
Executable file
36 lines
735 B
Nix
Executable file
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, deprecated
|
|
, oauthlib
|
|
, requests
|
|
, requests_oauthlib
|
|
, six
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "atlassian-python-api";
|
|
version = "3.8.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "atlassian-api";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "sha256-J0/CtfBtOdWReKQS/VvOL/3r+j4zJfnv/ICIXepKUvc=";
|
|
};
|
|
|
|
checkInputs = [
|
|
pytestCheckHook
|
|
];
|
|
|
|
propagatedBuildInputs = [ deprecated 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 ];
|
|
};
|
|
}
|