From 5fc42890c93405cc7ea98e8d6cd514b970a492ed Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 5 Nov 2021 20:22:26 +0100 Subject: [PATCH] python3Packages.aioguardian: 2021.10.0 -> 2021.11.0 --- .../python-modules/aioguardian/default.nix | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/aioguardian/default.nix b/pkgs/development/python-modules/aioguardian/default.nix index 08b1a1402dd9..7b16e2ffc50d 100644 --- a/pkgs/development/python-modules/aioguardian/default.nix +++ b/pkgs/development/python-modules/aioguardian/default.nix @@ -4,6 +4,7 @@ , asyncio-dgram , asynctest , buildPythonPackage +, docutils , fetchFromGitHub , poetry-core , pytest-aiohttp @@ -15,13 +16,13 @@ buildPythonPackage rec { pname = "aioguardian"; - version = "2021.10.0"; + version = "2021.11.0"; src = fetchFromGitHub { owner = "bachya"; repo = pname; rev = version; - sha256 = "sha256-LKtuBMbpaVnp/eQ5hW1RQiArEBw4Lw+29y/q6Dq/tyI="; + sha256 = "sha256-jQIRACm0d0a5mQqlwxSTgLZfJFvGLWuJTb/MacppmS4="; }; format = "pyproject"; @@ -34,6 +35,7 @@ buildPythonPackage rec { aiohttp async-timeout asyncio-dgram + docutils voluptuous ]; @@ -45,9 +47,18 @@ buildPythonPackage rec { pytestCheckHook ]; - disabledTestPaths = [ "examples/" ]; + postPatch = '' + substituteInPlace pyproject.toml \ + --replace 'docutils = "<0.18"' 'docutils = "*"' + ''; - pythonImportsCheck = [ "aioguardian" ]; + disabledTestPaths = [ + "examples/" + ]; + + pythonImportsCheck = [ + "aioguardian" + ]; meta = with lib; { description = " Python library to interact with Elexa Guardian devices";