From 1bc29400c665acf77b628f7fe1d076225e4ae478 Mon Sep 17 00:00:00 2001 From: Bart Brouns Date: Fri, 5 Oct 2018 01:03:53 +0200 Subject: FIL-plugins: init at 0.3.0 --- pkgs/applications/audio/FIL-plugins/default.nix | 37 +++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 39 insertions(+) create mode 100644 pkgs/applications/audio/FIL-plugins/default.nix diff --git a/pkgs/applications/audio/FIL-plugins/default.nix b/pkgs/applications/audio/FIL-plugins/default.nix new file mode 100644 index 00000000000..b9322c37df0 --- /dev/null +++ b/pkgs/applications/audio/FIL-plugins/default.nix @@ -0,0 +1,37 @@ +{ stdenv, fetchurl, ladspaH +}: + +stdenv.mkDerivation rec { + name = "FIL-plugins-${version}"; + version = "0.3.0"; + src = fetchurl { + url = "http://kokkinizita.linuxaudio.org/linuxaudio/downloads/${name}.tar.bz2"; + sha256 = "1scfv9j7jrp50r565haa4rvxn1vk2ss86xssl5qgcr8r45qz42qw"; + }; + + 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 + ''; + + 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''; + longDescription = '' + Each section has an active/bypass switch, frequency, bandwidth and gain controls. + There is also a global bypass switch and gain control. + The 2nd order resonant filters are implemented using a Mitra-Regalia style lattice filter. + All switches and controls are internally smoothed, so they can be used 'live' whithout any clicks or zipper noises. + This should make this plugin a good candidate for use in systems that allow automation of plugin control ports, such as Ardour, or for stage use. + ''; + version = "${version}"; + homepage = http://kokkinizita.linuxaudio.org/linuxaudio/ladspa/index.html; + license = stdenv.lib.licenses.gpl2Plus; + maintainers = [ stdenv.lib.maintainers.magnetophon ]; + platforms = stdenv.lib.platforms.linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 77c4e3972be..072b873d703 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -16424,6 +16424,8 @@ with pkgs; fig2dev = callPackage ../applications/graphics/fig2dev { }; + FIL-plugins = callPackage ../applications/audio/FIL-plugins { }; + flacon = callPackage ../applications/audio/flacon { }; flexget = callPackage ../applications/networking/flexget { }; -- cgit 1.4.1