diff --git a/pkgs/development/python-modules/asyncio-dgram/default.nix b/pkgs/development/python-modules/asyncio-dgram/default.nix index b06af4d2bbe0..324e4ec823a3 100644 --- a/pkgs/development/python-modules/asyncio-dgram/default.nix +++ b/pkgs/development/python-modules/asyncio-dgram/default.nix @@ -1,33 +1,41 @@ -{ stdenv -, lib +{ lib +, stdenv , buildPythonPackage , fetchFromGitHub -, pytestCheckHook , pytest-asyncio +, pytestCheckHook +, pythonOlder }: buildPythonPackage rec { pname = "asyncio-dgram"; - version = "2.1.0"; + version = "2.1.1"; + format = "setuptools"; + + disabled = pythonOlder "3.5"; src = fetchFromGitHub { owner = "jsbronder"; repo = pname; rev = "v${version}"; - sha256 = "1ibyphncb3d8vrs3yk8j6l1smmnibizx9k1vir2njhi09r57h9mx"; + sha256 = "sha256-3K9VpX6JWCgz+Lx+5ZKqXG53B/uJCtI0x4pHy2pJdZg="; }; + checkInputs = [ + pytest-asyncio + pytestCheckHook + ]; + # OSError: AF_UNIX path too long doCheck = !stdenv.isDarwin; - checkInputs = [ - pytestCheckHook - pytest-asyncio + disabledTests = [ + "test_protocol_pause_resume" ]; - disabledTests = [ "test_protocol_pause_resume" ]; - - pythonImportsCheck = [ "asyncio_dgram" ]; + pythonImportsCheck = [ + "asyncio_dgram" + ]; meta = with lib; { description = "Python support for higher level Datagram";