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