Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ buildPythonPackage 2, lib 3, fetchPypi 4, requests 5, pytest 6, six 7, werkzeug 8}: 9 10buildPythonPackage rec { 11 pname = "pytest-localserver"; 12 version = "0.5.0"; 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "3a5427909d1dfda10772c1bae4b9803679c0a8f04adb66c338ac607773bfefc2"; 17 }; 18 19 propagatedBuildInputs = [ werkzeug ]; 20 checkInputs = [ pytest six requests ]; 21 22 checkPhase = '' 23 pytest 24 ''; 25 26 meta = { 27 description = "Plugin for the pytest testing framework to test server connections locally"; 28 homepage = https://pypi.python.org/pypi/pytest-localserver; 29 license = lib.licenses.mit; 30 }; 31} 32