From b7b0a1fe7792011a70771c160900c1b4d75ad3f6 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 5 Jan 2021 15:29:33 +0100 Subject: [PATCH] python3Packages.asyncio-dgram: init at 1.1.1 --- .../python-modules/asyncio-dgram/default.nix | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 pkgs/development/python-modules/asyncio-dgram/default.nix 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 000000000000..9edc215abcf7 --- /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 ]; + }; +}