python3Packages.idasen: relax voluptuous constraint

This commit is contained in:
Fabian Affolter 2022-03-31 09:39:24 +02:00
parent 0ae9d39d53
commit 1b2e23209f

View file

@ -21,7 +21,7 @@ buildPythonPackage rec {
owner = "newAM"; owner = "newAM";
repo = "idasen"; repo = "idasen";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-s8CnYMUVl2VbGbVxICSaKH5DxTA+NP/zPX1z7vfMqi4="; hash = "sha256-s8CnYMUVl2VbGbVxICSaKH5DxTA+NP/zPX1z7vfMqi4=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -39,7 +39,14 @@ buildPythonPackage rec {
pytest-asyncio pytest-asyncio
]; ];
pythonImportsCheck = [ "idasen" ]; postPatch = ''
substituteInPlace pyproject.toml \
--replace 'voluptuous = "^0.12"' 'voluptuous = "*"'
'';
pythonImportsCheck = [
"idasen"
];
meta = with lib; { meta = with lib; {
description = "Python API and CLI for the ikea IDÅSEN desk"; description = "Python API and CLI for the ikea IDÅSEN desk";