home-assistant-intents: fix package

This commit is contained in:
Frederik Rietdijk 2023-08-20 10:50:04 +02:00
parent 3c3fd2fe9d
commit 3229b1e3de

View file

@ -2,7 +2,6 @@
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, setuptools
# build
, hassil
@ -11,6 +10,8 @@
, regex
, voluptuous
, python
, setuptools
, wheel
# tests
, pytest-xdist
@ -32,12 +33,17 @@ buildPythonPackage rec {
fetchSubmodules = true;
};
postPatch = ''
substituteInPlace pyproject.toml --replace 'requires = ["setuptools~=62.3", "wheel~=0.37.1"]' 'requires = ["setuptools", "wheel"]'
'';
nativeBuildInputs = [
hassil
jinja2
pyyaml
regex
setuptools
wheel
voluptuous
];