diff options
author | alyaeanyx <alexandra.hollmeier@mailbox.org> | 2021-10-01 22:24:16 +0200 |
---|---|---|
committer | Raphael Megzari <raphael@megzari.com> | 2021-10-02 09:37:14 +0900 |
commit | 751ce748bd1ebac94442dfeaa8bc3f100d73a9f6 (patch) | |
tree | 3d9edc8565f6f18fbaff230284d9fe11e0d37906 /pkgs/applications/audio/friture | |
parent | 5c81b8818709d736b9e52eb45efb237c80f732de (diff) |
friture: backport fix for setuptools packaging
Diffstat (limited to 'pkgs/applications/audio/friture')
-rw-r--r-- | pkgs/applications/audio/friture/default.nix | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/pkgs/applications/audio/friture/default.nix b/pkgs/applications/audio/friture/default.nix index 1c5d292c0aec1..7918ea1789172 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 |