depot/third_party/nixpkgs/pkgs/development/python-modules/aiostream/default.nix
Default email b450903751 Project import generated by Copybara.
GitOrigin-RevId: 74a1793c659d09d7cf738005308b1f86c90cb59b
2022-09-09 16:08:57 +02:00

30 lines
685 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, pytestCheckHook
, pytest-cov
, pytest-asyncio
}:
buildPythonPackage rec {
pname = "aiostream";
version = "0.4.5";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "vxgmichel";
repo = pname;
rev = "refs/tags/v${version}";
sha256 = "sha256-WOtscg02Dq5YNSAfq4pIyH3oUP/5G+cjBwKB6c+SUVA=";
};
checkInputs = [ pytestCheckHook pytest-cov pytest-asyncio ];
meta = with lib; {
description = "Generator-based operators for asynchronous iteration";
homepage = "https://aiostream.readthedocs.io";
license = licenses.gpl3Only;
maintainers = [ maintainers.rmcgibbo ];
};
}