summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-matter-server
diff options
context:
space:
mode:
authorTheodore Ni <3806110+tjni@users.noreply.github.com>2023-08-23 23:39:31 -0700
committerTheodore Ni <3806110+tjni@users.noreply.github.com>2023-08-23 23:39:31 -0700
commit1bf9dce6651ce2976096ce50d462eec7f331eaed (patch)
treec6bd4b705b997c2552a320f044690dbf62478c8c /pkgs/development/python-modules/python-matter-server
parent18b5b2d4487a54016299ec7bbf8c6352a3b0ecec (diff)
python3.pkgs.python-matter-server: relax setuptools dependency
Diffstat (limited to 'pkgs/development/python-modules/python-matter-server')
-rw-r--r--pkgs/development/python-modules/python-matter-server/default.nix12
1 files changed, 12 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/python-matter-server/default.nix b/pkgs/development/python-modules/python-matter-server/default.nix
index c04beb032f95..ccb013d14e54 100644
--- a/pkgs/development/python-modules/python-matter-server/default.nix
+++ b/pkgs/development/python-modules/python-matter-server/default.nix
@@ -1,10 +1,12 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
+, fetchpatch
, pythonOlder
# build
, setuptools
+, wheel
# propagates
, aiohttp
@@ -39,8 +41,18 @@ buildPythonPackage rec {
hash = "sha256-t++7jQreibGpJRjJawicxjFIye5X6R1dpFqiM6yvRf0=";
};
+ patches = [
+ # https://github.com/home-assistant-libs/python-matter-server/pull/379
+ (fetchpatch {
+ name = "relax-setuptools-dependency.patch";
+ url = "https://github.com/home-assistant-libs/python-matter-server/commit/1bbc945634db92ea081051645b03c3d9c358fb15.patch";
+ hash = "sha256-kTu1+IwDrcdqelyK/vfhxw8MQBis5I1jag7YTytKQhs=";
+ })
+ ];
+
nativeBuildInputs = [
setuptools
+ wheel
];
propagatedBuildInputs = [