Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ stdenv 2, buildPythonPackage 3, fetchPypi 4, pytestrunner 5, pytest 6}: 7 8buildPythonPackage rec { 9 version = "2.1.0"; 10 pname = "PasteDeploy"; 11 12 src = fetchPypi { 13 inherit pname version; 14 sha256 = "e7559878b6e92023041484be9bcb6d767cf4492fc3de7257a5dae76a7cc11a9b"; 15 }; 16 17 buildInputs = [ pytestrunner ]; 18 19 checkInputs = [ pytest ]; 20 21 # no tests in PyPI tarball 22 # should be included with versions > 2.0.1 23 doCheck = false; 24 25 meta = with stdenv.lib; { 26 description = "Load, configure, and compose WSGI applications and servers"; 27 homepage = "http://pythonpaste.org/deploy/"; 28 license = licenses.mit; 29 }; 30 31}