nixpkgs/pkgs/development/python-modules/pytest-httpserver/default.nix
Martin Weinelt 231b9eb148
python3Packages.pytest-httpserver: 1.1.2 -> 1.1.3
https://github.com/csernazs/pytest-httpserver/blob/1.1.3/CHANGES.rst

This commit was automatically generated using update-python-libraries.
2025-08-09 19:02:46 +02:00

53 lines
1.1 KiB
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
pytestCheckHook,
pythonOlder,
requests,
toml,
werkzeug,
}:
buildPythonPackage rec {
pname = "pytest-httpserver";
version = "1.1.3";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "csernazs";
repo = "pytest-httpserver";
tag = version;
hash = "sha256-5pyCDzt9nCwYcUdCjWlJiAkyNmf6oWBqSHQL7kJJluA=";
};
nativeBuildInputs = [ poetry-core ];
propagatedBuildInputs = [ werkzeug ];
nativeCheckInputs = [
pytestCheckHook
requests
toml
];
__darwinAllowLocalNetworking = true;
disabledTests = [
"test_wait_raise_assertion_false" # racy
];
pythonImportsCheck = [ "pytest_httpserver" ];
meta = with lib; {
description = "HTTP server for pytest to test HTTP clients";
homepage = "https://www.github.com/csernazs/pytest-httpserver";
changelog = "https://github.com/csernazs/pytest-httpserver/blob/${src.tag}/CHANGES.rst";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}