From cc05774b30b62bab360aeb39a2ae4cafd9739cab Mon Sep 17 00:00:00 2001 From: Theodore Ni <3806110+tjni@users.noreply.github.com> Date: Tue, 22 Aug 2023 23:08:57 -0700 Subject: [PATCH] python3.pkgs.py-dormakaba-dkey: relax setuptools dependency --- .../python-modules/py-dormakaba-dkey/default.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/pkgs/development/python-modules/py-dormakaba-dkey/default.nix b/pkgs/development/python-modules/py-dormakaba-dkey/default.nix index 6c70ad8861c7..27443d166e76 100644 --- a/pkgs/development/python-modules/py-dormakaba-dkey/default.nix +++ b/pkgs/development/python-modules/py-dormakaba-dkey/default.nix @@ -4,8 +4,10 @@ , buildPythonPackage , cryptography , fetchFromGitHub +, fetchpatch , pythonOlder , setuptools +, wheel }: buildPythonPackage rec { @@ -22,8 +24,18 @@ buildPythonPackage rec { hash = "sha256-1jIsKQa27XNVievU02jjanRWFtJDYsHolgPBab6qpM0="; }; + patches = [ + # https://github.com/emontnemery/py-dormakaba-dkey/pull/45 + (fetchpatch { + name = "relax-setuptools-dependency.patch"; + url = "https://github.com/emontnemery/py-dormakaba-dkey/commit/cfda4be71d39f2cfd1c0d4f7fff9018050c57f1a.patch"; + hash = "sha256-JGsaLQNbUfz0uK/MeGnR2XTJDs4RnTOEg7BavfDPArg="; + }) + ]; + nativeBuildInputs = [ setuptools + wheel ]; propagatedBuildInputs = [