diff options
author | Jonathan Wilkins <jonathan@wilkins.tech> | 2021-05-07 20:35:04 +0100 |
---|---|---|
committer | Jonathan Ringer <jonringer@users.noreply.github.com> | 2021-05-07 15:15:45 -0700 |
commit | 6549f6357bc363320b8036a417a180b7f3b7b7cd (patch) | |
tree | 8cd6d8b5582267355bd584629cab7a022616db85 /pkgs | |
parent | 958855d30c43bd73ed863b98bfae513729afff20 (diff) |
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
Diffstat (limited to 'pkgs')
-rwxr-xr-x | pkgs/development/python-modules/atlassian-python-api/default.nix | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/pkgs/development/python-modules/atlassian-python-api/default.nix b/pkgs/development/python-modules/atlassian-python-api/default.nix index 617d5562b43a5..31d615f5314be 100755 --- a/pkgs/development/python-modules/atlassian-python-api/default.nix +++ b/pkgs/development/python-modules/atlassian-python-api/default.nix @@ -1,30 +1,28 @@ { lib , buildPythonPackage -, fetchPypi -, isPy3k -, certifi -, chardet +, fetchFromGitHub , deprecated -, idna , oauthlib , requests , requests_oauthlib , six -, urllib3 -, pytestrunner -, pytest +, pytestCheckHook }: buildPythonPackage rec { pname = "atlassian-python-api"; version = "3.8.0"; - src = fetchPypi { - inherit pname version; - sha256 = "7ef384a91a790c807336e2bd6b7554284691aadd6d7413d199baf752dd84c53e"; + src = fetchFromGitHub { + owner = "atlassian-api"; + repo = pname; + rev = version; + sha256 = "sha256-J0/CtfBtOdWReKQS/VvOL/3r+j4zJfnv/ICIXepKUvc="; }; - checkInputs = [ pytestrunner pytest ]; + checkInputs = [ + pytestCheckHook + ]; propagatedBuildInputs = [ deprecated oauthlib requests requests_oauthlib six ]; |