Merge pull request #144782 from fabaff/bump-aioguardian

python3Packages.aioguardian: 2021.10.0 -> 2021.11.0
This commit is contained in:
Fabian Affolter 2021-11-06 01:05:24 +01:00 committed by GitHub
commit ea8596e4de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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