nixpkgs/pkgs/development/python-modules/atlassian-python-api/default.nix
Jonathan Wilkins 6549f6357b python38Packages.atlassian-python-api: switch to fetching from GitHub
The pypi source code doesn't contain the response stubs necessary for
the tests to pass
2021-05-07 15:15:45 -07:00

35 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 ];
};
}