mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-09 14:33:22 +00:00
4f0dadbf38
After final improvements to the official formatter implementation, this commit now performs the first treewide reformat of Nix files using it. This is part of the implementation of RFC 166. Only "inactive" files are reformatted, meaning only files that aren't being touched by any PR with activity in the past 2 months. This is to avoid conflicts for PRs that might soon be merged. Later we can do a full treewide reformat to get the rest, which should not cause as many conflicts. A CI check has already been running for some time to ensure that new and already-formatted files are formatted, so the files being reformatted here should also stay formatted. This commit was automatically created and can be verified using nix-builda08b3a4d19
.tar.gz \ --argstr baseRevb32a094368
result/bin/apply-formatting $NIXPKGS_PATH
44 lines
1.4 KiB
Nix
44 lines
1.4 KiB
Nix
{
|
|
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;
|
|
};
|
|
})
|