From 5643058ab7e8bdc0bef7222f63e2564574c4ae6b Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 16 May 2024 15:15:14 +0200 Subject: [PATCH] python3Packages.maestral: relax dropbox dependency --- pkgs/development/python-modules/maestral/default.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pkgs/development/python-modules/maestral/default.nix b/pkgs/development/python-modules/maestral/default.nix index 52c24504174d..b58a764ece10 100644 --- a/pkgs/development/python-modules/maestral/default.nix +++ b/pkgs/development/python-modules/maestral/default.nix @@ -24,6 +24,7 @@ , typing-extensions , watchdog , xattr +, fetchpatch , pytestCheckHook , nixosTests }: @@ -69,6 +70,14 @@ buildPythonPackage rec { rubicon-objc ]; + patches = [ + (fetchpatch { + name = "upgrade-dropbox-version-bounds"; + url = "https://github.com/samschott/maestral/commit/8fd581fa503391534913afbc33a61132ff2e21ce.patch"; + hash = "sha256-2Dke9iF/5Ptsf3CSRHUkjdFRrmdKY+L3sILRMyYrUH0="; + }) + ]; + makeWrapperArgs = [ # Add the installed directories to the python path so the daemon can find them "--prefix PYTHONPATH : ${makePythonPath dependencies}"