Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / pytest-httpserver / default.nix
blobf790629a29cf6bcba12bd7e7a8cfa4e14331b13a
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , pytest-asyncio
5 , pytest-cov
6 , pytestCheckHook
7 , requests
8 , werkzeug
9 }:
11 buildPythonPackage rec {
12   pname = "pytest-httpserver";
13   version = "0.3.7";
15   src = fetchPypi {
16     pname = "pytest_httpserver";
17     inherit version;
18     sha256 = "sha256-YgTcrUlwh2jz0tJdMUgjm8RcqrtpJ/oUQm3SnxUc5Z4=";
19   };
21   propagatedBuildInputs = [ werkzeug ];
23   checkInputs = [
24     pytest-cov
25     pytestCheckHook
26     requests
27   ];
29   pythonImportsCheck = [ "pytest_httpserver" ];
31   meta = with lib; {
32     description = "HTTP server for pytest to test HTTP clients";
33     homepage = "https://www.github.com/csernazs/pytest-httpserver";
34     license = with licenses; [ mit ];
35     maintainers = with maintainers; [ fab ];
36   };