summary refs log tree commit diff
diff options
context:
space:
mode:
authorTheodore Ni <3806110+tjni@users.noreply.github.com>2023-08-17 16:52:40 -0700
committerTheodore Ni <3806110+tjni@users.noreply.github.com>2023-08-23 17:50:29 -0700
commit92368fec9446fabe5ee551d8a1c7301c4464dd93 (patch)
tree3970015a466f2435e99f31ca35a1bc7faa52fdcc
parentdfe898c8014622334a2ad541f1837b5319905b34 (diff)
downloadnixpkgs-92368fec9446fabe5ee551d8a1c7301c4464dd93.tar
nixpkgs-92368fec9446fabe5ee551d8a1c7301c4464dd93.tar.gz
nixpkgs-92368fec9446fabe5ee551d8a1c7301c4464dd93.tar.bz2
nixpkgs-92368fec9446fabe5ee551d8a1c7301c4464dd93.tar.lz
nixpkgs-92368fec9446fabe5ee551d8a1c7301c4464dd93.tar.xz
nixpkgs-92368fec9446fabe5ee551d8a1c7301c4464dd93.tar.zst
nixpkgs-92368fec9446fabe5ee551d8a1c7301c4464dd93.zip
etesync-dav: pull patch into flask to work with setuptools 67.5.0+
-rw-r--r--pkgs/applications/misc/etesync-dav/default.nix11
1 files changed, 11 insertions, 0 deletions
diff --git a/pkgs/applications/misc/etesync-dav/default.nix b/pkgs/applications/misc/etesync-dav/default.nix
index 301a5eb09b2..dbf22e95083 100644
--- a/pkgs/applications/misc/etesync-dav/default.nix
+++ b/pkgs/applications/misc/etesync-dav/default.nix
@@ -16,6 +16,17 @@ let
           inherit version;
           hash = "sha256-4RIMIoyi9VO0cN9KX6knq2YlhGdSYGmYGz6wqRkCaH0=";
         };
+
+        patches = [
+          # Pulling in this patch lets us continue running tests without any
+          # other changes using setuptools >= 67.5.0.
+          (fetchpatch {
+            name = "remove-deprecated-pkg-resources.patch";
+            url = "https://github.com/pallets/flask/commit/751d85f3de3f726446bb12e4ddfae885a6645ba1.patch";
+            hash = "sha256-T4vKSSe3P0xtb2/iQjm0RH2Bwk1ZHWiPoX1Ycr63EqU=";
+            includes = [ "src/flask/cli.py" ];
+          })
+        ];
       });
       flask-wtf = super.flask-wtf.overridePythonAttrs (old: rec {
         version = "0.15.1";