2024-05-21 01:03:37 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
stdenv,
|
|
|
|
fetchurl,
|
|
|
|
pkg-config,
|
|
|
|
makeWrapper,
|
2021-03-14 16:03:47 +00:00
|
|
|
libsndfile,
|
|
|
|
jack2,
|
2018-10-02 23:30:23 +00:00
|
|
|
libGLU,
|
|
|
|
libGL,
|
|
|
|
lv2,
|
|
|
|
cairo,
|
2022-08-05 15:05:16 +00:00
|
|
|
ladspaH,
|
|
|
|
php,
|
|
|
|
libXrandr,
|
|
|
|
}:
|
2018-10-02 23:30:23 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2023-01-22 13:59:53 +00:00
|
|
|
pname = "lsp-plugins";
|
2024-05-23 01:36:11 +00:00
|
|
|
version = "1.2.16";
|
2018-10-02 23:30:23 +00:00
|
|
|
|
2023-01-22 13:59:53 +00:00
|
|
|
src = fetchurl {
|
2024-07-31 22:49:20 +00:00
|
|
|
url = "https://github.com/lsp-plugins/lsp-plugins/releases/download/${version}/lsp-plugins-src-${version}.tar.gz";
|
2024-05-23 01:36:11 +00:00
|
|
|
sha256 = "sha256-w2BUIF44z78syLroQk2asVXA5bt9P9POiuwxpnlkc8o=";
|
2023-01-22 13:59:53 +00:00
|
|
|
};
|
2018-10-02 23:30:23 +00:00
|
|
|
|
2023-01-22 13:59:53 +00:00
|
|
|
outputs = [
|
|
|
|
"out"
|
|
|
|
"dev"
|
|
|
|
"doc"
|
|
|
|
];
|
2018-10-02 23:30:23 +00:00
|
|
|
|
2024-07-31 22:49:20 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
pkg-config
|
|
|
|
(php.withExtensions (_: [ ]))
|
|
|
|
makeWrapper
|
2023-01-22 13:59:53 +00:00
|
|
|
];
|
|
|
|
buildInputs = [
|
|
|
|
jack2
|
|
|
|
libsndfile
|
|
|
|
libGLU
|
|
|
|
libGL
|
|
|
|
lv2
|
|
|
|
cairo
|
|
|
|
ladspaH
|
|
|
|
libXrandr
|
2024-12-10 19:26:33 +00:00
|
|
|
];
|
2023-01-22 13:59:53 +00:00
|
|
|
|
|
|
|
makeFlags = [
|
|
|
|
"PREFIX=${placeholder "out"}"
|
2023-03-24 07:15:12 +00:00
|
|
|
"ETCDIR=${placeholder "out"}/etc"
|
|
|
|
"SHAREDDIR=${placeholder "out"}/share"
|
2018-10-02 23:30:23 +00:00
|
|
|
];
|
|
|
|
|
2023-02-19 19:23:32 +00:00
|
|
|
env.NIX_CFLAGS_COMPILE = "-DLSP_NO_EXPERIMENTAL";
|
2018-10-02 23:30:23 +00:00
|
|
|
|
2022-04-06 11:35:52 +00:00
|
|
|
configurePhase = ''
|
|
|
|
make config PREFIX=${placeholder "out"}
|
2018-10-02 23:30:23 +00:00
|
|
|
'';
|
|
|
|
|
2022-04-06 11:35:52 +00:00
|
|
|
doCheck = true;
|
2018-10-02 23:30:23 +00:00
|
|
|
|
2021-06-28 11:00:08 +00:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2021-01-15 13:21:58 +00:00
|
|
|
meta = with lib; {
|
2018-10-02 23:30:23 +00:00
|
|
|
description = "Collection of open-source audio plugins";
|
|
|
|
longDescription = ''
|
2023-03-24 07:15:12 +00:00
|
|
|
Compatible with the following formats:
|
2018-10-02 23:30:23 +00:00
|
|
|
|
2023-03-24 07:15:12 +00:00
|
|
|
- CLAP - set of plugins for Clever Audio Plugins API
|
2018-10-02 23:30:23 +00:00
|
|
|
- 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
|
|
|
|
|
2023-03-24 07:15:12 +00:00
|
|
|
Contains the following plugins (https://lsp-plug.in/?page=plugins)
|
2018-10-02 23:30:23 +00:00
|
|
|
|
2023-03-24 07:15:12 +00:00
|
|
|
Equalizers:
|
2023-07-21 08:41:59 +00:00
|
|
|
- Fliter
|
2023-03-24 07:15:12 +00:00
|
|
|
- Graphic Equalizer
|
|
|
|
- Parametric Equalizer
|
|
|
|
Dynamic Processing:
|
|
|
|
- Compressor
|
|
|
|
- Dynamic Processor
|
|
|
|
- Expander
|
|
|
|
- Gate
|
|
|
|
- Limiter
|
|
|
|
Multiband Dynamic Processing:
|
2023-07-21 08:41:59 +00:00
|
|
|
- GOTT Compressor
|
2023-03-24 07:15:12 +00:00
|
|
|
- Multiband Compressor
|
2023-07-21 08:41:59 +00:00
|
|
|
- Multiband Dynamics Processor
|
2023-03-24 07:15:12 +00:00
|
|
|
- Multiband Expander
|
|
|
|
- Multiband Gate
|
2023-07-21 08:41:59 +00:00
|
|
|
- Multiband Limiter
|
2023-03-24 07:15:12 +00:00
|
|
|
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
|
2023-07-21 08:41:59 +00:00
|
|
|
- Flanger
|
2023-03-24 07:15:12 +00:00
|
|
|
- Latency Meter
|
|
|
|
- Loudness Compensator
|
|
|
|
- Mixer
|
|
|
|
- Profiler
|
|
|
|
- Surge Filter
|
|
|
|
- Trigger
|
2018-10-02 23:30:23 +00:00
|
|
|
'';
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://lsp-plug.in";
|
2023-07-21 08:41:59 +00:00
|
|
|
maintainers = with maintainers; [
|
|
|
|
magnetophon
|
|
|
|
PowerUser64
|
|
|
|
];
|
2018-10-02 23:30:23 +00:00
|
|
|
license = licenses.gpl2;
|
2019-12-23 21:32:43 +00:00
|
|
|
platforms = platforms.linux;
|
2018-10-02 23:30:23 +00:00
|
|
|
};
|
|
|
|
}
|