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 22:24:16 +0200
committerRaphael Megzari <raphael@megzari.com>2021-10-02 09:37:14 +0900
commit751ce748bd1ebac94442dfeaa8bc3f100d73a9f6 (patch)
tree3d9edc8565f6f18fbaff230284d9fe11e0d37906 /pkgs/applications/audio/friture/default.nix
parent5c81b8818709d736b9e52eb45efb237c80f732de (diff)
downloadnixpkgs-751ce748bd1ebac94442dfeaa8bc3f100d73a9f6.tar
nixpkgs-751ce748bd1ebac94442dfeaa8bc3f100d73a9f6.tar.gz
nixpkgs-751ce748bd1ebac94442dfeaa8bc3f100d73a9f6.tar.bz2
nixpkgs-751ce748bd1ebac94442dfeaa8bc3f100d73a9f6.tar.lz
nixpkgs-751ce748bd1ebac94442dfeaa8bc3f100d73a9f6.tar.xz
nixpkgs-751ce748bd1ebac94442dfeaa8bc3f100d73a9f6.tar.zst
nixpkgs-751ce748bd1ebac94442dfeaa8bc3f100d73a9f6.zip
friture: backport fix for setuptools packaging
Diffstat (limited to 'pkgs/applications/audio/friture/default.nix')
-rw-r--r--pkgs/applications/audio/friture/default.nix11
1 files changed, 10 insertions, 1 deletions
diff --git a/pkgs/applications/audio/friture/default.nix b/pkgs/applications/audio/friture/default.nix
index 1c5d292c0ae..7918ea17891 100644
--- a/pkgs/applications/audio/friture/default.nix
+++ b/pkgs/applications/audio/friture/default.nix
@@ -1,4 +1,4 @@
-{ lib, fetchFromGitHub, python3Packages, wrapQtAppsHook }:
+{ lib, fetchFromGitHub, fetchpatch, python3Packages, wrapQtAppsHook }:
 
 let
   py = python3Packages;
@@ -28,6 +28,15 @@ in py.buildPythonApplication rec {
     rtmixer
   ];
 
+  patches = [
+    # Backported fix that resolves an issue with setuptools packaging
+    (fetchpatch {
+      name = "fix-setuptools-packaging.patch";
+      url = "https://github.com/tlecomte/friture/commit/ea7210dae883edf17de8fec82f9428b18ee138b6.diff";
+      sha256 = "sha256-Kv/vmC8kcqfOgfIPQyZN46sbV6bezhq6pyj8bvke6s8=";
+    })
+  ];
+
   postPatch = ''
     # Remove version constraints from Python dependencies in setup.py
     sed -i -E "s/\"([A-Za-z0-9]+)(=|>|<)=[0-9\.]+\"/\"\1\"/g" setup.py