summary refs log tree commit diff
path: root/pkgs/development/python-modules
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2021-01-05 15:29:33 +0100
committerJonathan Ringer <jonringer@users.noreply.github.com>2021-01-05 06:55:40 -0800
commitb7b0a1fe7792011a70771c160900c1b4d75ad3f6 (patch)
tree432185d6220c87cc2cdc39d725e19d2e6691afe2 /pkgs/development/python-modules
parent0972bbc12d9dac24ac1748ed19af62e6bcb36c19 (diff)
downloadnixpkgs-b7b0a1fe7792011a70771c160900c1b4d75ad3f6.tar
nixpkgs-b7b0a1fe7792011a70771c160900c1b4d75ad3f6.tar.gz
nixpkgs-b7b0a1fe7792011a70771c160900c1b4d75ad3f6.tar.bz2
nixpkgs-b7b0a1fe7792011a70771c160900c1b4d75ad3f6.tar.lz
nixpkgs-b7b0a1fe7792011a70771c160900c1b4d75ad3f6.tar.xz
nixpkgs-b7b0a1fe7792011a70771c160900c1b4d75ad3f6.tar.zst
nixpkgs-b7b0a1fe7792011a70771c160900c1b4d75ad3f6.zip
python3Packages.asyncio-dgram: init at 1.1.1
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r--pkgs/development/python-modules/asyncio-dgram/default.nix33
1 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/asyncio-dgram/default.nix b/pkgs/development/python-modules/asyncio-dgram/default.nix
new file mode 100644
index 00000000000..9edc215abcf
--- /dev/null
+++ b/pkgs/development/python-modules/asyncio-dgram/default.nix
@@ -0,0 +1,33 @@
+{ lib
+, buildPythonPackage
+, fetchFromGitHub
+, pytestCheckHook
+, pytest-asyncio
+}:
+
+buildPythonPackage rec {
+  pname = "asyncio-dgram";
+  version = "1.1.1";
+
+  src = fetchFromGitHub {
+    owner = "jsbronder";
+    repo = pname;
+    rev = "v${version}";
+    sha256 = "1zkmjvq47zw2fsbnzhr5mh9rsazx0z1f8m528ash25jrxsza5crm";
+  };
+
+  checkInputs = [
+    pytestCheckHook
+    pytest-asyncio  
+  ];
+
+  disabledTests = [ "test_protocol_pause_resume" ];
+  pythonImportsCheck = [ "asyncio_dgram" ];
+
+  meta = with lib; {
+    description = "Python support for higher level Datagram";
+    homepage = "https://github.com/jsbronder/asyncio-dgram";
+    license = with licenses; [ mit ];
+    maintainers = with maintainers; [ fab ];
+  };
+}