nixpkgs/pkgs/development/python-modules/pytest-httpx/default.nix
Martin Weinelt cc18b5cffe python3Packages.pytest-httpx: 0.35.0 -> 0.36.0
https://github.com/Colin-b/pytest_httpx/blob/v0.36.0/CHANGELOG.md

This commit was automatically generated using update-python-libraries.
2026-02-01 17:20:06 +01:00

50 lines
977 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
httpx,
pytest,
pytest-asyncio,
pytestCheckHook,
setuptools,
setuptools-scm,
}:
buildPythonPackage rec {
pname = "pytest-httpx";
version = "0.36.0";
pyproject = true;
src = fetchFromGitHub {
owner = "Colin-b";
repo = "pytest_httpx";
tag = "v${version}";
hash = "sha256-WuvfhLRKbfhVehyz/0PAUlIYbwfTYlQMRC8uTWD1T00=";
};
nativeBuildInputs = [
setuptools
setuptools-scm
];
buildInputs = [ pytest ];
propagatedBuildInputs = [ httpx ];
pythonRelaxDeps = [ "httpx" ];
nativeCheckInputs = [
pytest-asyncio
pytestCheckHook
];
pythonImportsCheck = [ "pytest_httpx" ];
meta = {
description = "Send responses to httpx";
homepage = "https://github.com/Colin-b/pytest_httpx";
changelog = "https://github.com/Colin-b/pytest_httpx/blob/${src.tag}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}