lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

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

authored by

Jonathan Wilkins and committed by
Jonathan Ringer
6549f635 958855d3

+10 -12
+10 -12
pkgs/development/python-modules/atlassian-python-api/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 - , fetchPypi 4 - , isPy3k 5 - , certifi 6 - , chardet 3 + , fetchFromGitHub 7 4 , deprecated 8 - , idna 9 5 , oauthlib 10 6 , requests 11 7 , requests_oauthlib 12 8 , six 13 - , urllib3 14 - , pytestrunner 15 - , pytest 9 + , pytestCheckHook 16 10 }: 17 11 18 12 buildPythonPackage rec { 19 13 pname = "atlassian-python-api"; 20 14 version = "3.8.0"; 21 15 22 - src = fetchPypi { 23 - inherit pname version; 24 - sha256 = "7ef384a91a790c807336e2bd6b7554284691aadd6d7413d199baf752dd84c53e"; 16 + src = fetchFromGitHub { 17 + owner = "atlassian-api"; 18 + repo = pname; 19 + rev = version; 20 + sha256 = "sha256-J0/CtfBtOdWReKQS/VvOL/3r+j4zJfnv/ICIXepKUvc="; 25 21 }; 26 22 27 - checkInputs = [ pytestrunner pytest ]; 23 + checkInputs = [ 24 + pytestCheckHook 25 + ]; 28 26 29 27 propagatedBuildInputs = [ deprecated oauthlib requests requests_oauthlib six ]; 30 28