python3Packages.aioguardian: 2021.10.0 -> 2021.11.0

This commit is contained in:
Fabian Affolter 2021-11-05 20:22:26 +01:00
parent 6f6f476bd6
commit 5fc42890c9

View file

@ -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";