Files
nixpkgs/pkgs/development/python-modules/aiostream/default.nix
2026-09-14 03:45:05 +00:00

44 lines
928 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
pytest-asyncio,
pytest-cov-stub,
pytestCheckHook,
setuptools,
typing-extensions,
}:
buildPythonPackage rec {
pname = "aiostream";
version = "0.7.2";
pyproject = true;
src = fetchFromGitHub {
owner = "vxgmichel";
repo = "aiostream";
tag = "v${version}";
hash = "sha256-YUIDB4FLcXjSGWqpiM2tn2l0DpSwAnlYvalIgIB7T44=";
};
build-system = [ setuptools ];
dependencies = [ typing-extensions ];
nativeCheckInputs = [
pytest-asyncio
pytest-cov-stub
pytestCheckHook
];
pythonImportsCheck = [ "aiostream" ];
meta = {
description = "Generator-based operators for asynchronous iteration";
homepage = "https://aiostream.readthedocs.io";
changelog = "https://github.com/vxgmichel/aiostream/releases/tag/${src.tag}";
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ rmcgibbo ];
};
}