about summary refs log tree commit diff
path: root/pkgs/applications/misc
diff options
context:
space:
mode:
authorFlorian Brandes <florian.brandes@posteo.de>2022-04-28 12:45:37 +0200
committerFlorian Brandes <florian.brandes@posteo.de>2022-04-28 12:45:37 +0200
commit3791cf24ed8c3d3e0310c3e424928a57bd85fe2e (patch)
tree63270775cd03cc643cfb63eea0638b2151635ea1 /pkgs/applications/misc
parentcef05334ef64fa0e544d3af8c645b3c8c290ee2a (diff)
octoprint: fix build failure due to python upgrades
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
Diffstat (limited to 'pkgs/applications/misc')
-rw-r--r--pkgs/applications/misc/octoprint/default.nix20
1 files changed, 20 insertions, 0 deletions
diff --git a/pkgs/applications/misc/octoprint/default.nix b/pkgs/applications/misc/octoprint/default.nix
index b7b0f8ae46bf9..1f4a318287a1c 100644
--- a/pkgs/applications/misc/octoprint/default.nix
+++ b/pkgs/applications/misc/octoprint/default.nix
@@ -174,6 +174,7 @@ let
               };
               disabledTestPaths = [
                 "t/unit/backends/test_mongodb.py"
+                "t/unit/backends/test_cassandra.py"
               ];
             });
           }
@@ -254,6 +255,24 @@ let
           }
         )
 
+         (
+          self: super: {
+            flask-restful = super.flask-restful.overridePythonAttrs (oldAttrs: rec {
+              # remove werkzeug patch
+              patches = [];
+            });
+          }
+        )
+
+        (
+          self: super: {
+            trytond = super.trytond.overridePythonAttrs (oldAttrs: rec {
+              # remove werkzeug patch
+              patches = [];
+            });
+          }
+        )
+
         # Built-in dependency
         (
           self: super: {
@@ -406,6 +425,7 @@ let
                     "watchdog"
                     "wrapt"
                     "zeroconf"
+                    "Flask-Login"
                   ];
                 in
                 ''