mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-14 08:26:37 +01:00
https://github.com/Colin-b/pytest_httpx/blob/v0.36.0/CHANGELOG.md This commit was automatically generated using update-python-libraries.
50 lines
977 B
Nix
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 ];
|
|
};
|
|
}
|