summary refs log tree commit diff
path: root/pkgs/applications/audio/friture/default.nix
diff options
context:
space:
mode:
authoralyaeanyx <alexandra.hollmeier@mailbox.org>2021-10-01 19:13:20 +0200
committerRaphael Megzari <raphael@megzari.com>2021-10-02 09:37:14 +0900
commit5c81b8818709d736b9e52eb45efb237c80f732de (patch)
tree1b5eae5353ceb51d836e2c009d876da3b68faeec /pkgs/applications/audio/friture/default.nix
parent3b9943f477304d9d128eee70b95c4fec6e0aff8d (diff)
downloadnixpkgs-5c81b8818709d736b9e52eb45efb237c80f732de.tar
nixpkgs-5c81b8818709d736b9e52eb45efb237c80f732de.tar.gz
nixpkgs-5c81b8818709d736b9e52eb45efb237c80f732de.tar.bz2
nixpkgs-5c81b8818709d736b9e52eb45efb237c80f732de.tar.lz
nixpkgs-5c81b8818709d736b9e52eb45efb237c80f732de.tar.xz
nixpkgs-5c81b8818709d736b9e52eb45efb237c80f732de.tar.zst
nixpkgs-5c81b8818709d736b9e52eb45efb237c80f732de.zip
friture: use sed instead of patch
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[@]}")