Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.03 752 B view raw
1{ stdenv 2, buildPythonPackage 3, fetchPypi 4, nose 5, webob 6, six 7, beautifulsoup4 8, waitress 9, mock 10, pyquery 11, wsgiproxy2 12, PasteDeploy 13}: 14 15buildPythonPackage rec { 16 version = "2.0.32"; 17 pname = "webtest"; 18 19 src = fetchPypi { 20 pname = "WebTest"; 21 inherit version; 22 sha256 = "4221020d502ff414c5fba83c1213985b83219cb1cc611fe58aa4feaf96b5e062"; 23 }; 24 25 preConfigure = '' 26 substituteInPlace setup.py --replace "nose<1.3.0" "nose" 27 ''; 28 29 propagatedBuildInputs = [ webob six beautifulsoup4 waitress ]; 30 31 checkInputs = [ nose mock PasteDeploy wsgiproxy2 pyquery ]; 32 33 meta = with stdenv.lib; { 34 description = "Helper to test WSGI applications"; 35 homepage = http://webtest.readthedocs.org/en/latest/; 36 license = licenses.mit; 37 }; 38 39}