1{ lib 2, buildPythonPackage 3, fetchPypi 4, pytest-cov 5, pytestCheckHook 6, requests 7, werkzeug 8}: 9 10buildPythonPackage rec { 11 pname = "pytest-httpserver"; 12 version = "1.0.2"; 13 14 src = fetchPypi { 15 pname = "pytest_httpserver"; 16 inherit version; 17 sha256 = "sha256-JwH9HZgU1YVR+dEETbM1xrqYcxaTZsWDSVI6WM907UA="; 18 }; 19 20 propagatedBuildInputs = [ werkzeug ]; 21 22 checkInputs = [ 23 pytest-cov 24 pytestCheckHook 25 requests 26 ]; 27 28 pythonImportsCheck = [ "pytest_httpserver" ]; 29 30 meta = with lib; { 31 description = "HTTP server for pytest to test HTTP clients"; 32 homepage = "https://www.github.com/csernazs/pytest-httpserver"; 33 license = with licenses; [ mit ]; 34 maintainers = with maintainers; [ fab ]; 35 }; 36}