1 { lib, stdenv, fetchurl, pkg-config, makeWrapper
3 , libGLU, libGL, lv2, cairo
4 , ladspaH, php, libXrandr }:
6 stdenv.mkDerivation rec {
11 url = "https://github.com/lsp-plugins/lsp-plugins/releases/download/${version}/lsp-plugins-src-${version}.tar.gz";
12 sha256 = "sha256-w2BUIF44z78syLroQk2asVXA5bt9P9POiuwxpnlkc8o=";
15 outputs = [ "out" "dev" "doc" ];
17 nativeBuildInputs = [ pkg-config (php.withExtensions (_: [])) makeWrapper ];
18 buildInputs = [ jack2 libsndfile libGLU libGL lv2 cairo ladspaH libXrandr ];
21 "PREFIX=${placeholder "out"}"
22 "ETCDIR=${placeholder "out"}/etc"
23 "SHAREDDIR=${placeholder "out"}/share"
26 env.NIX_CFLAGS_COMPILE = "-DLSP_NO_EXPERIMENTAL";
29 make config PREFIX=${placeholder "out"}
34 enableParallelBuilding = true;
37 { description = "Collection of open-source audio plugins";
39 Compatible with the following formats:
41 - CLAP - set of plugins for Clever Audio Plugins API
42 - LADSPA - set of plugins for Linux Audio Developer's Simple Plugin API
43 - LV2 - set of plugins and UIs for Linux Audio Developer's Simple Plugin API (LADSPA) version 2
44 - LinuxVST - set of plugins and UIs for Steinberg's VST 2.4 format ported on GNU/Linux Platform
45 - JACK - Standalone versions for JACK Audio connection Kit with UI
47 Contains the following plugins (https://lsp-plug.in/?page=plugins)
52 - Parametric Equalizer
59 Multiband Dynamic Processing:
61 - Multiband Compressor
62 - Multiband Dynamics Processor
66 Convolution / Reverb processing:
83 Generators / Oscillators:
90 - Loudness Compensator
96 homepage = "https://lsp-plug.in";
97 maintainers = with maintainers; [ magnetophon PowerUser64 ];
98 license = licenses.gpl2;
99 platforms = platforms.linux;