Skip to content

Commit

Permalink
python3Packages.aiostream: init at 0.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
rmcgibbo committed Jan 9, 2021
1 parent 9926401 commit 0383c9c
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
30 changes: 30 additions & 0 deletions pkgs/development/python-modules/aiostream/default.nix
@@ -0,0 +1,30 @@
{ 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 ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Expand Up @@ -265,6 +265,8 @@ in {

aiosqlite = callPackage ../development/python-modules/aiosqlite { };

aiostream = callPackage ../development/python-modules/aiostream { };

aiounifi = callPackage ../development/python-modules/aiounifi { };

aiounittest = callPackage ../development/python-modules/aiounittest { };
Expand Down

0 comments on commit 0383c9c

Please sign in to comment.