about summary refs log tree commit diff
path: root/pkgs/development/python-modules/aiostream
diff options
context:
space:
mode:
authorRobert T. McGibbon <rmcgibbo@gmail.com>2021-01-09 00:06:25 -0500
committerRobert T. McGibbon <rmcgibbo@gmail.com>2021-01-09 00:06:25 -0500
commit0383c9c32ddb70140ff1ed57db33f7eecb7dad8d (patch)
tree732fb3c3af25c3e4c8be44c45093942c578dd62e /pkgs/development/python-modules/aiostream
parent99264011def796166029ef3f69a2d355396fe67d (diff)
python3Packages.aiostream: init at 0.4.1
Diffstat (limited to 'pkgs/development/python-modules/aiostream')
-rw-r--r--pkgs/development/python-modules/aiostream/default.nix30
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/aiostream/default.nix b/pkgs/development/python-modules/aiostream/default.nix
new file mode 100644
index 0000000000000..a48e2ae024013
--- /dev/null
+++ b/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 ];
+  };
+}