Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09-beta 36 lines 757 B view raw
1{ stdenv 2, buildPythonPackage 3, fetchPypi 4, pytest 5, gevent 6, certifi 7, six 8, backports_ssl_match_hostname 9}: 10 11buildPythonPackage rec { 12 pname = "geventhttpclient"; 13 version = "1.4.4"; 14 15 src = fetchPypi { 16 inherit pname version; 17 sha256 = "f59e5153f22e4a0be27b48aece8e45e19c1da294f8c49442b1c9e4d152c5c4c3"; 18 }; 19 20 buildInputs = [ pytest ]; 21 propagatedBuildInputs = [ gevent certifi six backports_ssl_match_hostname ]; 22 23 # Several tests fail that require network 24 doCheck = false; 25 checkPhase = '' 26 py.test $out 27 ''; 28 29 meta = with stdenv.lib; { 30 homepage = "https://github.com/gwik/geventhttpclient"; 31 description = "HTTP client library for gevent"; 32 license = licenses.mit; 33 maintainers = with maintainers; [ koral ]; 34 }; 35 36}