Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.09 37 lines 751 B view raw
1{ lib 2, buildPythonPackage 3, flake8 4, nose2 5, mock 6, requests 7, pyjwt 8, fetchPypi 9}: 10 11buildPythonPackage rec { 12 pname = "globus-sdk"; 13 version = "1.8.0"; 14 15 src = fetchPypi { 16 inherit pname version; 17 sha256 = "0ggxa3av4rwva9h5idg1vfdybr7wkajw7g0sn42k04sxxa0cigwz"; 18 }; 19 20 checkPhase = '' 21 py.test tests 22 ''; 23 24 # No tests in archive 25 doCheck = false; 26 27 checkInputs = [ flake8 nose2 mock ]; 28 29 propagatedBuildInputs = [ requests pyjwt ]; 30 31 meta = with lib; { 32 description = "A convenient Pythonic interface to Globus REST APIs, including the Transfer API and the Globus Auth API."; 33 homepage = https://github.com/globus/globus-sdk-python; 34 license = licenses.asl20; 35 maintainers = with maintainers; [ ixxie ]; 36 }; 37}