summary refs log tree commit diff
diff options
context:
space:
mode:
authorBill Huang <bill.huang2001@gmail.com>2022-10-04 15:18:31 +0800
committerBill Huang <bill.huang2001@gmail.com>2022-10-20 10:36:26 +0800
commit3b6e2eb68328e622dd4aea63c598adeae22b50a7 (patch)
tree2ccd78da06419825b56c1078f33a331a405bc759
parent1da984855d67ade16a4a25bc812705fbfe033973 (diff)
downloadnixpkgs-3b6e2eb68328e622dd4aea63c598adeae22b50a7.tar
nixpkgs-3b6e2eb68328e622dd4aea63c598adeae22b50a7.tar.gz
nixpkgs-3b6e2eb68328e622dd4aea63c598adeae22b50a7.tar.bz2
nixpkgs-3b6e2eb68328e622dd4aea63c598adeae22b50a7.tar.lz
nixpkgs-3b6e2eb68328e622dd4aea63c598adeae22b50a7.tar.xz
nixpkgs-3b6e2eb68328e622dd4aea63c598adeae22b50a7.tar.zst
nixpkgs-3b6e2eb68328e622dd4aea63c598adeae22b50a7.zip
aiorwlock: init at 1.3.0
update aiorwlock hash

remove pytest-cov

add pythonImportsCheck
-rw-r--r--pkgs/development/python-modules/aiorwlock/default.nix31
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/aiorwlock/default.nix b/pkgs/development/python-modules/aiorwlock/default.nix
new file mode 100644
index 00000000000..9ee21f2a7c9
--- /dev/null
+++ b/pkgs/development/python-modules/aiorwlock/default.nix
@@ -0,0 +1,31 @@
+{ buildPythonPackage
+, fetchPypi
+, lib
+, pytest-asyncio
+, pytest-cov
+, pytestCheckHook
+}:
+
+buildPythonPackage rec {
+  pname = "aiorwlock";
+  version = "1.3.0";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "sha256-g/Eth99LlyiguP2hdWWFqw1lKxB7q1nGCE4bGtaSq0U=";
+  };
+
+  checkInputs = [
+    pytestCheckHook
+    pytest-asyncio
+  ];
+
+  pythonImportsCheck = [ "aiorwlock" ];
+
+  meta = with lib; {
+    description = "Read write lock for asyncio";
+    homepage = "https://github.com/aio-libs/aiorwlock";
+    license = licenses.asl20;
+    maintainers = with maintainers; [ billhuang ];
+  };
+}