a7848c7476
GitOrigin-RevId: 34ad3ffe08adfca17fcb4e4a47bb5f3b113687be
36 lines
728 B
Nix
36 lines
728 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pytest-cov
|
|
, pytestCheckHook
|
|
, requests
|
|
, werkzeug
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pytest-httpserver";
|
|
version = "1.0.2";
|
|
|
|
src = fetchPypi {
|
|
pname = "pytest_httpserver";
|
|
inherit version;
|
|
sha256 = "sha256-JwH9HZgU1YVR+dEETbM1xrqYcxaTZsWDSVI6WM907UA=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ werkzeug ];
|
|
|
|
checkInputs = [
|
|
pytest-cov
|
|
pytestCheckHook
|
|
requests
|
|
];
|
|
|
|
pythonImportsCheck = [ "pytest_httpserver" ];
|
|
|
|
meta = with lib; {
|
|
description = "HTTP server for pytest to test HTTP clients";
|
|
homepage = "https://www.github.com/csernazs/pytest-httpserver";
|
|
license = with licenses; [ mit ];
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|