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.3";
13 disabled = pythonOlder "3.6";
14
15 src = fetchFromGitHub {
16 owner = "vxgmichel";
17 repo = pname;
18 rev = "v${version}";
19 sha256 = "1r3x9qwl08yscmzvhafc6gsmq84lr17s6p7a1qxr49cmdvjzsc13";
20 };
21
22 checkInputs = [ 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}