From 430386449e988c0fa68c62d7ae24f14a19c37c07 Mon Sep 17 00:00:00 2001 From: Theodore Ni <3806110+tjni@users.noreply.github.com> Date: Tue, 8 Aug 2023 19:43:34 -0700 Subject: [PATCH] python3.pkgs.xknx: fix up build dependencies --- pkgs/development/python-modules/xknx/default.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/pkgs/development/python-modules/xknx/default.nix b/pkgs/development/python-modules/xknx/default.nix index 07615180608e..6151edfb5066 100644 --- a/pkgs/development/python-modules/xknx/default.nix +++ b/pkgs/development/python-modules/xknx/default.nix @@ -2,12 +2,14 @@ , async-timeout , buildPythonPackage , fetchFromGitHub +, fetchpatch , cryptography , ifaddr , pytest-asyncio , pytestCheckHook , pythonOlder , setuptools +, wheel }: buildPythonPackage rec { @@ -24,8 +26,17 @@ buildPythonPackage rec { hash = "sha256-rKvHb0wkWVuZO8M8uIQdOiY1N6DmGSpqUgz4YYbUfSM="; }; + patches = [ + (fetchpatch { + name = "unpin-setuptools.patch"; + url = "https://github.com/XKNX/xknx/commit/c0826aec52ab69b8bd81f600bea154fae16f334e.patch"; + hash = "sha256-EpfgEq4pIx7ahqJZalzo30ruj8NlZYHcKHxFXCGL98w="; + }) + ]; + nativeBuildInputs = [ setuptools + wheel ]; propagatedBuildInputs = [