1{ lib 2, buildPythonPackage 3, fetchPypi 4, six, h2 5, isPy3k 6}: 7 8buildPythonPackage rec { 9 pname = "wptserve"; 10 version = "3.0"; 11 12 disabled = isPy3k; 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "11990a92b07e4535c2723c34a88bd905c66acec9cda6efa7a7b61371bfe8d87a"; 17 }; 18 19 postPatch = '' 20 substituteInPlace setup.py --replace "h2==" "h2>=" 21 ''; 22 23 propagatedBuildInputs = [ six h2 ]; 24 25 meta = { 26 description = "A webserver intended for web browser testing"; 27 homepage = "https://wptserve.readthedocs.org/"; 28 license = lib.licenses.bsd3; 29 maintainers = with lib.maintainers; [ raskin ]; 30 }; 31}