Skip to content

Commit

Permalink
python310Packages.esphome-dashboard-api: fix build deps
Browse files Browse the repository at this point in the history
  • Loading branch information
mweinelt committed Aug 23, 2023
1 parent 3e9e11f commit 669bfe2
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
, buildPythonPackage
, fetchFromGitHub
, setuptools
, wheel
, aiohttp
}:

Expand All @@ -17,8 +18,15 @@ buildPythonPackage rec {
hash = "sha256-RFfS0xzRXoM6ETXmviiMPxffPzspjTqpkvHOlTJXN9g=";
};

postPatch = ''
substituteInPlace pyproject.toml \
--replace "setuptools~=65.6" "setuptools" \
--replace "wheel~=0.37.1" "wheel"
'';

nativeBuildInputs = [
setuptools
wheel
];

propagatedBuildInputs = [
Expand Down

0 comments on commit 669bfe2

Please sign in to comment.