1{ buildPythonPackage 2, lib 3, fetchPypi 4, requests 5, pytest 6, six 7, werkzeug 8}: 9 10buildPythonPackage rec { 11 pname = "pytest-localserver"; 12 name = "${pname}-${version}"; 13 version = "0.3.7"; 14 15 src = fetchPypi { 16 inherit pname version; 17 sha256 = "1c11hn61n06ms0wmw6536vs5k4k9hlndxsb3p170nva56a9dfa6q"; 18 }; 19 20 propagatedBuildInputs = [ werkzeug ]; 21 buildInputs = [ pytest six requests ]; 22 23 checkPhase = '' 24 py.test 25 ''; 26 27 meta = { 28 description = "Plugin for the pytest testing framework to test server connections locally"; 29 homepage = https://pypi.python.org/pypi/pytest-localserver; 30 license = lib.licenses.mit; 31 }; 32} 33