ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / pytest-httpserver / default.nix
blobcba9a9294e7c6316e5338371b4f755a86da161a8
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , pytest-cov
5 , pytestCheckHook
6 , requests
7 , werkzeug
8 }:
10 buildPythonPackage rec {
11   pname = "pytest-httpserver";
12   version = "1.0.6";
14   src = fetchPypi {
15     pname = "pytest_httpserver";
16     inherit version;
17     sha256 = "sha256-kEDQe/WaxF2N49sdRGj9LR1geXXk2kyHLswEAs2/ez4=";
18   };
20   propagatedBuildInputs = [ werkzeug ];
22   checkInputs = [
23     pytest-cov
24     pytestCheckHook
25     requests
26   ];
28   pythonImportsCheck = [ "pytest_httpserver" ];
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   };