Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 30 lines 674 B view raw
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, pythonOlder 5, pytestCheckHook 6, pytestcov 7, pytest-asyncio 8}: 9 10buildPythonPackage rec { 11 pname = "aiostream"; 12 version = "0.4.2"; 13 disabled = pythonOlder "3.6"; 14 15 src = fetchFromGitHub { 16 owner = "vxgmichel"; 17 repo = pname; 18 rev = "v${version}"; 19 sha256 = "0ss41hzvlnyll5xc5ddxqyqqw4gnd67yyhci25xnb1vpcz0jqsq8"; 20 }; 21 22 checkInputs = [ pytestCheckHook pytestcov 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}