Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 34 lines 638 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, six 5, pytestrunner 6, pytest 7}: 8 9buildPythonPackage rec { 10 pname = "paste"; 11 version = "3.5.0"; 12 13 src = fetchPypi { 14 pname = "Paste"; 15 inherit version; 16 sha256 = "17f3zppjjprs2jnklvzkz23mh9jdn6b1f445mvrjdm4ivi15q28v"; 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 lib; { 29 description = "Tools for using a Web Server Gateway Interface stack"; 30 homepage = "http://pythonpaste.org/"; 31 license = licenses.mit; 32 }; 33 34}