summary refs log tree commit diff
path: root/pkgs/applications/audio/friture/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/audio/friture/default.nix')
-rw-r--r--pkgs/applications/audio/friture/default.nix7
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/applications/audio/friture/default.nix b/pkgs/applications/audio/friture/default.nix
index c838f377955..1c5d292c0ae 100644
--- a/pkgs/applications/audio/friture/default.nix
+++ b/pkgs/applications/audio/friture/default.nix
@@ -28,9 +28,10 @@ in py.buildPythonApplication rec {
     rtmixer
   ];
 
-  patches = [
-    ./unlock_constraints.patch
-  ];
+  postPatch = ''
+    # Remove version constraints from Python dependencies in setup.py
+    sed -i -E "s/\"([A-Za-z0-9]+)(=|>|<)=[0-9\.]+\"/\"\1\"/g" setup.py
+  '';
 
   preFixup = ''
     makeWrapperArgs+=("''${qtWrapperArgs[@]}")