Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.03 34 lines 646 B view raw
1{ stdenv 2, buildPythonPackage 3, fetchPypi 4, six 5, pytestrunner 6, pytest 7}: 8 9buildPythonPackage rec { 10 pname = "paste"; 11 version = "3.2.2"; 12 13 src = fetchPypi { 14 pname = "Paste"; 15 inherit version; 16 sha256 = "15p95br9x7zjy0cckdy6xmhfg61cg49rhi75jd00svrnz234s7qb"; 17 }; 18 19 propagatedBuildInputs = [ six ]; 20 21 checkInputs = [ pytestrunner pytest ]; 22 23 # Certain tests require network 24 checkPhase = '' 25 py.test -k "not test_cgiapp and not test_proxy" 26 ''; 27 28 meta = with stdenv.lib; { 29 description = "Tools for using a Web Server Gateway Interface stack"; 30 homepage = http://pythonpaste.org/; 31 license = licenses.mit; 32 }; 33 34}