Files
nixpkgs/pkgs/development/python-modules/aioipp/default.nix
2026-10-22 00:45:39 +00:00

64 lines
1.2 KiB
Nix

{
lib,
aiohttp,
aresponses,
awesomeversion,
buildPythonPackage,
deepmerge,
fetchFromGitHub,
poetry-core,
pyprojectVersionPatchHook,
pytest-asyncio,
pytest-cov-stub,
pytestCheckHook,
pythonOlder,
syrupy,
yarl,
}:
buildPythonPackage (finalAttrs: {
pname = "aioipp";
version = "0.21.0";
pyproject = true;
disabled = pythonOlder "3.14";
src = fetchFromGitHub {
owner = "brianegge";
repo = "aioipp";
tag = finalAttrs.version;
hash = "sha256-v/99CJiQhzUQhwcwBN/SfqL1VDdkJqjEX+j8fzx0EmE=";
};
nativeBuildInputs = [ pyprojectVersionPatchHook ];
build-system = [ poetry-core ];
dependencies = [
aiohttp
awesomeversion
deepmerge
yarl
];
nativeCheckInputs = [
aresponses
pytest-asyncio
pytest-cov-stub
pytestCheckHook
syrupy
];
__darwinAllowLocalNetworking = true;
pythonImportsCheck = [ "pyipp" ];
meta = {
description = "Asynchronous Python client for Internet Printing Protocol (IPP)";
homepage = "https://github.com/brianegge/aioipp";
changelog = "https://github.com/brianegge/aioipp/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.jamiemagee ];
};
})