Silvan Mosberger 84d4f874c2 treewide: format all inactive Nix files
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-build a08b3a4d19.tar.gz \
      --argstr baseRev 78e9caf153f5a339bf1d4c000ff6f0a503a369c8
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:23:58 +01:00

134 lines
2.8 KiB
Nix

{
lib,
stdenv,
fetchurl,
pkg-config,
makeWrapper,
libsndfile,
jack2,
libGLU,
libGL,
lv2,
cairo,
ladspaH,
php,
libXrandr,
}:
stdenv.mkDerivation rec {
pname = "lsp-plugins";
version = "1.2.16";
src = fetchurl {
url = "https://github.com/lsp-plugins/lsp-plugins/releases/download/${version}/lsp-plugins-src-${version}.tar.gz";
sha256 = "sha256-w2BUIF44z78syLroQk2asVXA5bt9P9POiuwxpnlkc8o=";
};
outputs = [
"out"
"dev"
"doc"
];
nativeBuildInputs = [
pkg-config
(php.withExtensions (_: [ ]))
makeWrapper
];
buildInputs = [
jack2
libsndfile
libGLU
libGL
lv2
cairo
ladspaH
libXrandr
];
makeFlags = [
"PREFIX=${placeholder "out"}"
"ETCDIR=${placeholder "out"}/etc"
"SHAREDDIR=${placeholder "out"}/share"
];
env.NIX_CFLAGS_COMPILE = "-DLSP_NO_EXPERIMENTAL";
configurePhase = ''
make config PREFIX=${placeholder "out"}
'';
doCheck = true;
enableParallelBuilding = true;
meta = with lib; {
description = "Collection of open-source audio plugins";
longDescription = ''
Compatible with the following formats:
- CLAP - set of plugins for Clever Audio Plugins API
- LADSPA - set of plugins for Linux Audio Developer's Simple Plugin API
- LV2 - set of plugins and UIs for Linux Audio Developer's Simple Plugin API (LADSPA) version 2
- LinuxVST - set of plugins and UIs for Steinberg's VST 2.4 format ported on GNU/Linux Platform
- JACK - Standalone versions for JACK Audio connection Kit with UI
Contains the following plugins (https://lsp-plug.in/?page=plugins)
Equalizers:
- Fliter
- Graphic Equalizer
- Parametric Equalizer
Dynamic Processing:
- Compressor
- Dynamic Processor
- Expander
- Gate
- Limiter
Multiband Dynamic Processing:
- GOTT Compressor
- Multiband Compressor
- Multiband Dynamics Processor
- Multiband Expander
- Multiband Gate
- Multiband Limiter
Convolution / Reverb processing:
- Impulse Responses
- Impulse Reverb
- Room Builder
Delay Effects:
- Artistic Delay
- Compensation Delay
- Slap-back Delay
Analyzers:
- Oscilloscope
- Phase Detector
- Spectrum Analyzer
Multiband Processing:
- Crossover
Samplers:
- Multisampler
- Sampler
Generators / Oscillators:
- Noise Generator
- Oscillator
Utilitary Plugins:
- A/B Test Plugin
- Flanger
- Latency Meter
- Loudness Compensator
- Mixer
- Profiler
- Surge Filter
- Trigger
'';
homepage = "https://lsp-plug.in";
maintainers = with maintainers; [
magnetophon
PowerUser64
];
license = licenses.gpl2;
platforms = platforms.linux;
};
}