Files
nixpkgs/pkgs/development/python-modules/aresponses/default.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

53 lines
1.0 KiB
Nix

{
lib,
aiohttp,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
pytest-asyncio_0,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "aresponses";
version = "3.0.0";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "aresponses";
repo = "aresponses";
rev = version;
hash = "sha256-RklXlIsbdq46/7D6Hv4mdskunqw1a7SFF09OjhrvMRY=";
};
build-system = [ setuptools ];
dependencies = [
aiohttp
pytest-asyncio_0
];
nativeCheckInputs = [ pytestCheckHook ];
disabledTests = [
# Disable tests which requires network access
"test_foo"
"test_passthrough"
];
__darwinAllowLocalNetworking = true;
pythonImportsCheck = [ "aresponses" ];
meta = with lib; {
changelog = "https://github.com/aresponses/aresponses/blob/${src.rev}/README.md#changelog";
description = "Asyncio testing server";
homepage = "https://github.com/aresponses/aresponses";
license = licenses.mit;
maintainers = with maintainers; [ makefu ];
};
}