diff options
Diffstat (limited to 'pkgs/by-name/fi/fil-plugins/package.nix')
-rw-r--r-- | pkgs/by-name/fi/fil-plugins/package.nix | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/pkgs/by-name/fi/fil-plugins/package.nix b/pkgs/by-name/fi/fil-plugins/package.nix new file mode 100644 index 0000000000000..1d819fd8b7639 --- /dev/null +++ b/pkgs/by-name/fi/fil-plugins/package.nix @@ -0,0 +1,42 @@ +{ lib +, stdenv +, fetchurl +, ladspaH +}: + +stdenv.mkDerivation (finalAttrs: { + pname = "fil-plugins"; + version = "0.3.0"; + + src = fetchurl { + url = "http://kokkinizita.linuxaudio.org/linuxaudio/downloads/FIL-plugins-${finalAttrs.version}.tar.bz2"; + hash = "sha256-HAvycSEZZfZwoVp3g7QWcwfbdyZKwWJKBuVmeWTajuk="; + }; + + buildInputs = [ ladspaH ]; + + postPatch = '' + substituteInPlace Makefile \ + --replace /usr/lib/ladspa "$out/lib/ladspa" \ + --replace g++ "$CXX" + ''; + + preInstall = '' + mkdir -p "$out/lib/ladspa" + ''; + + meta = { + description = "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. + ''; + homepage = "http://kokkinizita.linuxaudio.org/linuxaudio/ladspa/index.html"; + license = lib.licenses.gpl2Plus; + maintainers = [ lib.maintainers.magnetophon ]; + platforms = lib.platforms.linux; + }; +}) |