Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09-beta 37 lines 760 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.9.1"; 14 15 src = fetchPypi { 16 inherit pname version; 17 sha256 = "883a862ddd17b0f4868ec55d6697a64c13d91c41b9fa5103198d2140053abac2"; 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}