summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlexis Ehret <git@08a.re>2023-11-04 18:51:58 +0100
committerJonathan Ringer <jonringer@users.noreply.github.com>2023-11-04 20:25:00 -0700
commitdf6fa25783715bad3678daee7973552630f7522e (patch)
tree7651c4aa68c3ec9386688eed98994625ed908ccc
parent38506b33d6150a9e96d9b1b1e9e28cac08ae4dbf (diff)
downloadnixpkgs-df6fa25783715bad3678daee7973552630f7522e.tar
nixpkgs-df6fa25783715bad3678daee7973552630f7522e.tar.gz
nixpkgs-df6fa25783715bad3678daee7973552630f7522e.tar.bz2
nixpkgs-df6fa25783715bad3678daee7973552630f7522e.tar.lz
nixpkgs-df6fa25783715bad3678daee7973552630f7522e.tar.xz
nixpkgs-df6fa25783715bad3678daee7973552630f7522e.tar.zst
nixpkgs-df6fa25783715bad3678daee7973552630f7522e.zip
fix(etesync-dav): remove pinned dependencies
flask 2.0.3 isn't available on Pypi anymore. So I removed the explicit
dependencies.
-rw-r--r--pkgs/applications/misc/etesync-dav/default.nix51
1 files changed, 2 insertions, 49 deletions
diff --git a/pkgs/applications/misc/etesync-dav/default.nix b/pkgs/applications/misc/etesync-dav/default.nix
index 0c83c8a9b81..a4bbdc2eb7b 100644
--- a/pkgs/applications/misc/etesync-dav/default.nix
+++ b/pkgs/applications/misc/etesync-dav/default.nix
@@ -7,54 +7,7 @@
 , radicale3
 }:
 
-let
-  python = python3.override {
-    packageOverrides = self: super: {
-      flask = super.flask.overridePythonAttrs (old: rec {
-        version = "2.0.3";
-        src = old.src.override {
-          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";
-        format = "setuptools";
-        src = old.src.override {
-          inherit version;
-          pname = "Flask-WTF";
-          hash = "sha256-/xdxhfiRMC3CU0N/5jCB56RqTpmsph3+CG+yPlT/8tw=";
-        };
-        disabledTests = [
-          "test_outside_request"
-        ];
-        disabledTestPaths = [
-          "tests/test_form.py"
-          "tests/test_html5.py"
-        ];
-        patches = [ ];
-      });
-      werkzeug = super.werkzeug.overridePythonAttrs (old: rec {
-        version = "2.0.3";
-        src = old.src.override {
-          inherit version;
-          hash = "sha256-uGP4/wV8UiFktgZ8niiwQRYbS+W6TQ2s7qpQoWOCLTw=";
-        };
-      });
-    };
-  };
-in python.pkgs.buildPythonApplication rec {
+python3.pkgs.buildPythonApplication rec {
   pname = "etesync-dav";
   version = "0.32.1";
 
@@ -71,7 +24,7 @@ in python.pkgs.buildPythonApplication rec {
     })
   ];
 
-  propagatedBuildInputs = with python.pkgs; [
+  propagatedBuildInputs = with python3.pkgs; [
     appdirs
     etebase
     etesync