2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchFromGitHub,
|
|
|
|
pytest-asyncio,
|
2024-10-11 05:15:48 +00:00
|
|
|
pytest-cov-stub,
|
2024-06-05 15:53:02 +00:00
|
|
|
pytestCheckHook,
|
|
|
|
pythonOlder,
|
2024-06-20 14:57:18 +00:00
|
|
|
setuptools,
|
2024-06-05 15:53:02 +00:00
|
|
|
typing-extensions,
|
2021-01-09 10:05:03 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "aiostream";
|
2024-10-09 16:51:18 +00:00
|
|
|
version = "0.6.3";
|
2024-06-20 14:57:18 +00:00
|
|
|
pyproject = true;
|
2023-10-09 19:29:22 +00:00
|
|
|
|
2024-10-11 05:15:48 +00:00
|
|
|
disabled = pythonOlder "3.9";
|
2021-01-09 10:05:03 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "vxgmichel";
|
2024-06-20 14:57:18 +00:00
|
|
|
repo = "aiostream";
|
2022-09-09 14:08:57 +00:00
|
|
|
rev = "refs/tags/v${version}";
|
2024-10-09 16:51:18 +00:00
|
|
|
hash = "sha256-MssA4gDo79mlHjVwQAxhX6DZPHB4Quo6V05Nye91oJg=";
|
2021-01-09 10:05:03 +00:00
|
|
|
};
|
|
|
|
|
2024-06-20 14:57:18 +00:00
|
|
|
build-system = [ setuptools ];
|
|
|
|
|
|
|
|
dependencies = [ typing-extensions ];
|
2023-10-09 19:29:22 +00:00
|
|
|
|
|
|
|
nativeCheckInputs = [
|
|
|
|
pytest-asyncio
|
2024-10-11 05:15:48 +00:00
|
|
|
pytest-cov-stub
|
2023-10-09 19:29:22 +00:00
|
|
|
pytestCheckHook
|
|
|
|
];
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
pythonImportsCheck = [ "aiostream" ];
|
2021-01-09 10:05:03 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Generator-based operators for asynchronous iteration";
|
|
|
|
homepage = "https://aiostream.readthedocs.io";
|
2023-10-09 19:29:22 +00:00
|
|
|
changelog = "https://github.com/vxgmichel/aiostream/releases/tag/v${version}";
|
2021-01-09 10:05:03 +00:00
|
|
|
license = licenses.gpl3Only;
|
2023-10-09 19:29:22 +00:00
|
|
|
maintainers = with maintainers; [ rmcgibbo ];
|
2021-01-09 10:05:03 +00:00
|
|
|
};
|
|
|
|
}
|