2021-01-09 05:06:25 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
, pythonOlder
|
|
|
|
, pytestCheckHook
|
|
|
|
, pytestcov
|
|
|
|
, pytest-asyncio
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "aiostream";
|
2021-03-10 10:04:43 +00:00
|
|
|
version = "0.4.2";
|
2021-01-09 05:06:25 +00:00
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "vxgmichel";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-03-10 10:04:43 +00:00
|
|
|
sha256 = "0ss41hzvlnyll5xc5ddxqyqqw4gnd67yyhci25xnb1vpcz0jqsq8";
|
2021-01-09 05:06:25 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [ pytestCheckHook pytestcov pytest-asyncio ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Generator-based operators for asynchronous iteration";
|
|
|
|
homepage = "https://aiostream.readthedocs.io";
|
|
|
|
license = licenses.gpl3Only;
|
|
|
|
maintainers = [ maintainers.rmcgibbo ];
|
|
|
|
};
|
|
|
|
}
|