1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, pythonOlder
5, pytestCheckHook
6, pytest-cov
7, pytest-asyncio
8}:
9
10buildPythonPackage rec {
11 pname = "aiostream";
12 version = "0.4.5";
13 disabled = pythonOlder "3.6";
14
15 src = fetchFromGitHub {
16 owner = "vxgmichel";
17 repo = pname;
18 rev = "refs/tags/v${version}";
19 hash = "sha256-WOtscg02Dq5YNSAfq4pIyH3oUP/5G+cjBwKB6c+SUVA=";
20 };
21
22 nativeCheckInputs = [ pytestCheckHook pytest-cov pytest-asyncio ];
23
24 meta = with lib; {
25 description = "Generator-based operators for asynchronous iteration";
26 homepage = "https://aiostream.readthedocs.io";
27 license = licenses.gpl3Only;
28 maintainers = [ maintainers.rmcgibbo ];
29 };
30}