Unverified Commit 5643058a authored by Stefan Frijters's avatar Stefan Frijters
Browse files

python3Packages.maestral: relax dropbox dependency

parent ac0ccbf8
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -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}"