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