depot/third_party/nixpkgs/pkgs/development/python-modules/aiostream/default.nix
Default email 2969ca571a Project import generated by Copybara.
GitOrigin-RevId: 257cbbcd3ab7bd96f5d24d50adc807de7c82e06d
2021-01-09 11:05:03 +01:00

30 lines
674 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, pytestCheckHook
, pytestcov
, pytest-asyncio
}:
buildPythonPackage rec {
pname = "aiostream";
version = "0.4.1";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "vxgmichel";
repo = pname;
rev = "v${version}";
sha256 = "1wwnjrzkd61k3arxzk7yhg7cc1099bcwr5kz5n91ai6ma5ln139s";
};
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 ];
};
}