diff options
author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2023-06-21 00:13:19 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-21 00:13:19 +0000 |
commit | 260df62919ffc7c09044edb519f3beaa491cda0e (patch) | |
tree | 0b2b34c12219860fd7d15b9cfeaf0d5148ffa9b5 /pkgs/applications/audio/FIL-plugins/default.nix | |
parent | 3780de2d515bae803de26545cf5891c211a9846b (diff) | |
parent | 2de5e6838cd1480b9f1eae11c1c65ca2f32ae40c (diff) |
Merge master into haskell-updates
Diffstat (limited to 'pkgs/applications/audio/FIL-plugins/default.nix')
-rw-r--r-- | pkgs/applications/audio/FIL-plugins/default.nix | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/pkgs/applications/audio/FIL-plugins/default.nix b/pkgs/applications/audio/FIL-plugins/default.nix index 98fc3495d8f73..d5f12addf8596 100644 --- a/pkgs/applications/audio/FIL-plugins/default.nix +++ b/pkgs/applications/audio/FIL-plugins/default.nix @@ -1,23 +1,29 @@ -{ lib, stdenv, fetchurl, ladspaH +{ lib +, stdenv +, fetchurl +, ladspaH }: stdenv.mkDerivation rec { pname = "FIL-plugins"; version = "0.3.0"; + src = fetchurl { url = "http://kokkinizita.linuxaudio.org/linuxaudio/downloads/${pname}-${version}.tar.bz2"; - sha256 = "1scfv9j7jrp50r565haa4rvxn1vk2ss86xssl5qgcr8r45qz42qw"; + hash = "sha256-HAvycSEZZfZwoVp3g7QWcwfbdyZKwWJKBuVmeWTajuk="; }; buildInputs = [ ladspaH ]; - patchPhase = '' - sed -i 's@/usr/bin/install@install@g' Makefile - sed -i 's@/bin/rm@rm@g' Makefile - sed -i 's@/usr/lib/ladspa@$(out)/lib/ladspa@g' Makefile + postPatch = '' + substituteInPlace Makefile \ + --replace /usr/lib/ladspa "$out/lib/ladspa" \ + --replace g++ "$CXX" ''; - preInstall="mkdir -p $out/lib/ladspa"; + preInstall = '' + mkdir -p "$out/lib/ladspa" + ''; meta = { description = "a four-band parametric equaliser, which has the nice property of being stable even while parameters are being changed"; |