2021-01-19 06:50:56 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, pkg-config, makeWrapper
|
2021-03-14 16:03:47 +00:00
|
|
|
, libsndfile, jack2
|
2018-10-03 00:30:23 +01:00
|
|
|
, libGLU, libGL, lv2, cairo
|
2019-12-23 21:32:43 +00:00
|
|
|
, ladspaH, php }:
|
2018-10-03 00:30:23 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "lsp-plugins";
|
2020-09-21 16:14:06 +01:00
|
|
|
version = "1.1.26";
|
2018-10-03 00:30:23 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "sadko4u";
|
2019-09-09 00:38:31 +01:00
|
|
|
repo = pname;
|
2019-08-15 13:41:18 +01:00
|
|
|
rev = "${pname}-${version}";
|
2020-09-21 16:14:06 +01:00
|
|
|
sha256 = "1apw8zh3a3il4smkjji6bih4vbsymj0hjs10fgkrd4nazqkjvgyd";
|
2018-10-03 00:30:23 +01:00
|
|
|
};
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config php makeWrapper ];
|
2021-03-14 16:03:47 +00:00
|
|
|
buildInputs = [ jack2 libsndfile libGLU libGL lv2 cairo ladspaH ];
|
2018-10-03 00:30:23 +01:00
|
|
|
|
|
|
|
makeFlags = [
|
2021-01-24 09:19:10 +00:00
|
|
|
"PREFIX=${placeholder "out"}"
|
2020-03-29 16:38:06 +01:00
|
|
|
"ETC_PATH=$(out)/etc"
|
2018-10-03 00:30:23 +01:00
|
|
|
];
|
|
|
|
|
2019-10-30 11:34:47 +00:00
|
|
|
NIX_CFLAGS_COMPILE = "-DLSP_NO_EXPERIMENTAL";
|
2018-10-03 00:30:23 +01:00
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
runHook preCheck
|
|
|
|
TEST_PATH=$(pwd)".build-test"
|
|
|
|
make OBJDIR=$TEST_PATH test
|
|
|
|
$TEST_PATH/lsp-plugins-test utest
|
|
|
|
runHook postCheck
|
|
|
|
'';
|
|
|
|
|
2019-12-23 21:32:43 +00:00
|
|
|
buildFlags = [ "release" ];
|
2018-10-03 00:30:23 +01:00
|
|
|
|
2021-01-15 13:21:58 +00:00
|
|
|
meta = with lib;
|
2018-10-03 00:30:23 +01:00
|
|
|
{ description = "Collection of open-source audio plugins";
|
|
|
|
longDescription = ''
|
|
|
|
Compatible with follwing formats:
|
|
|
|
|
|
|
|
- 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:
|
|
|
|
|
|
|
|
- Limiter Mono - Begrenzer Mono
|
|
|
|
- Limiter Stereo - Begrenzer Stereo
|
|
|
|
- Dynamic Processor LeftRight - Dynamikprozessor LeftRight
|
|
|
|
- Dynamic Processor MidSide - Dynamikprozessor MidSide
|
|
|
|
- Dynamic Processor Mono - Dynamikprozessor Mono
|
|
|
|
- Dynamic Processor Stereo - Dynamikprozessor Stereo
|
|
|
|
- Expander LeftRight - Expander LeftRight
|
|
|
|
- Expander MidSide - Expander MidSide
|
|
|
|
- Expander Mono - Expander Mono
|
|
|
|
- Expander Stereo - Expander Stereo
|
2020-09-21 16:14:06 +01:00
|
|
|
- Crossover LeftRight x8 - Frequenzweiche LeftRight x8
|
|
|
|
- Crossover MidSide x8 - Frequenzweiche MidSide x8
|
|
|
|
- Crossover Mono x8 - Frequenzweiche Mono x8
|
|
|
|
- Crossover Stereo x8 - Frequenzweiche Stereo x8
|
2018-10-03 00:30:23 +01:00
|
|
|
- Gate LeftRight - Gate LeftRight
|
|
|
|
- Gate MidSide - Gate MidSide
|
|
|
|
- Gate Mono - Gate Mono
|
|
|
|
- Gate Stereo - Gate Stereo
|
|
|
|
- Graphic Equalizer x16 LeftRight - Grafischer Entzerrer x16 LeftRight
|
|
|
|
- Graphic Equalizer x16 MidSide - Grafischer Entzerrer x16 MidSide
|
|
|
|
- Graphic Equalizer x16 Mono - Grafischer Entzerrer x16 Mono
|
|
|
|
- Graphic Equalizer x16 Stereo - Grafischer Entzerrer x16 Stereo
|
|
|
|
- Graphic Equalizer x32 LeftRight - Grafischer Entzerrer x32 LeftRight
|
|
|
|
- Graphic Equalizer x32 MidSide - Grafischer Entzerrer x32 MidSide
|
|
|
|
- Graphic Equalizer x32 Mono - Grafischer Entzerrer x32 Mono
|
|
|
|
- Graphic Equalizer x32 Stereo - Grafischer Entzerrer x32 Stereo
|
|
|
|
- Impulse Responses Mono - Impulsantworten Mono
|
|
|
|
- Impulse Responses Stereo - Impulsantworten Stereo
|
|
|
|
- Impulse Reverb Mono - Impulsnachhall Mono
|
|
|
|
- Impulse Reverb Stereo - Impulsnachhall Stereo
|
|
|
|
- Sampler Mono - Klangerzeuger Mono
|
|
|
|
- Sampler Stereo - Klangerzeuger Stereo
|
|
|
|
- Compressor LeftRight - Kompressor LeftRight
|
|
|
|
- Compressor MidSide - Kompressor MidSide
|
|
|
|
- Compressor Mono - Kompressor Mono
|
|
|
|
- Compressor Stereo - Kompressor Stereo
|
|
|
|
- Latency Meter - Latenzmessgerät
|
2020-09-21 16:14:06 +01:00
|
|
|
- Loudness Compensator Mono - Lautstärke Kompensator Mono
|
|
|
|
- Loudness Compensator Stereo - Lautstärke Kompensator Stereo
|
|
|
|
- Multiband Expander LeftRight x8 - Multi-band Expander LeftRight x8
|
|
|
|
- Multiband Expander MidSide x8 - Multi-band Expander MidSide x8
|
|
|
|
- Multiband Expander Mono x8 - Multi-band Expander Mono x8
|
|
|
|
- Multiband Expander Stereo x8 - Multi-band Expander Stereo x8
|
|
|
|
- Multiband Gate LeftRight x8 - Multi-band Gate LeftRight x8
|
|
|
|
- Multiband Gate MidSide x8 - Multi-band Gate MidSide x8
|
|
|
|
- Multiband Gate Mono x8 - Multi-band Gate Mono x8
|
|
|
|
- Multiband Gate Stereo x8 - Multi-band Gate Stereo x8
|
2018-10-03 00:30:23 +01:00
|
|
|
- Multiband Compressor LeftRight x8 - Multi-band Kompressor LeftRight x8
|
|
|
|
- Multiband Compressor MidSide x8 - Multi-band Kompressor MidSide x8
|
|
|
|
- Multiband Compressor Mono x8 - Multi-band Kompressor Mono x8
|
|
|
|
- Multiband Compressor Stereo x8 - Multi-band Kompressor Stereo x8
|
|
|
|
- Oscillator Mono - Oszillator Mono
|
|
|
|
- Parametric Equalizer x16 LeftRight - Parametrischer Entzerrer x16 LeftRight
|
|
|
|
- Parametric Equalizer x16 MidSide - Parametrischer Entzerrer x16 MidSide
|
|
|
|
- Parametric Equalizer x16 Mono - Parametrischer Entzerrer x16 Mono
|
|
|
|
- Parametric Equalizer x16 Stereo - Parametrischer Entzerrer x16 Stereo
|
|
|
|
- Parametric Equalizer x32 LeftRight - Parametrischer Entzerrer x32 LeftRight
|
|
|
|
- Parametric Equalizer x32 MidSide - Parametrischer Entzerrer x32 MidSide
|
|
|
|
- Parametric Equalizer x32 Mono - Parametrischer Entzerrer x32 Mono
|
|
|
|
- Parametric Equalizer x32 Stereo - Parametrischer Entzerrer x32 Stereo
|
|
|
|
- Phase Detector - Phasendetektor
|
|
|
|
- Profiler Mono - Profiler Mono
|
2020-09-21 16:14:06 +01:00
|
|
|
- Profiler Stereo - Profiler Stereo
|
|
|
|
- Room Builder Mono - Raumbaumeister Mono
|
|
|
|
- Room Builder Stereo - Raumbaumeister Stereo
|
2018-10-03 00:30:23 +01:00
|
|
|
- Multi-Sampler x12 DirectOut - Schlagzeug x12 Direktausgabe
|
|
|
|
- Multi-Sampler x12 Stereo - Schlagzeug x12 Stereo
|
|
|
|
- Multi-Sampler x24 DirectOut - Schlagzeug x24 Direktausgabe
|
|
|
|
- Multi-Sampler x24 Stereo - Schlagzeug x24 Stereo
|
|
|
|
- Multi-Sampler x48 DirectOut - Schlagzeug x48 Direktausgabe
|
|
|
|
- Multi-Sampler x48 Stereo - Schlagzeug x48 Stereo
|
2020-09-21 16:14:06 +01:00
|
|
|
- Sidechain Multiband Expander LeftRight x8 - Sidechain Multi-band Expander LeftRight x8
|
|
|
|
- Sidechain Multiband Expander MidSide x8 - Sidechain Multi-band Expander MidSide x8
|
|
|
|
- Sidechain Multiband Expander Mono x8 - Sidechain Multi-band Expander Mono x8
|
|
|
|
- Sidechain Multiband Expander Stereo x8 - Sidechain Multi-band Expander Stereo x8
|
|
|
|
- Sidechain Multiband Gate LeftRight x8 - Sidechain Multi-band Gate LeftRight x8
|
|
|
|
- Sidechain Multiband Gate MidSide x8 - Sidechain Multi-band Gate MidSide x8
|
|
|
|
- Sidechain Multiband Gate Mono x8 - Sidechain Multi-band Gate Mono x8
|
|
|
|
- Sidechain Multiband Gate Stereo x8 - Sidechain Multi-band Gate Stereo x8
|
2018-10-03 00:30:23 +01:00
|
|
|
- Sidechain Multiband Compressor LeftRight x8 - Sidechain Multi-band Kompressor LeftRight x8
|
|
|
|
- Sidechain Multiband Compressor MidSide x8 - Sidechain Multi-band Kompressor MidSide x8
|
|
|
|
- Sidechain Multiband Compressor Mono x8 - Sidechain Multi-band Kompressor Mono x8
|
|
|
|
- Sidechain Multiband Compressor Stereo x8 - Sidechain Multi-band Kompressor Stereo x8
|
|
|
|
- Sidechain Limiter Mono - Sidechain-Begrenzer Mono
|
|
|
|
- Sidechain Limiter Stereo - Sidechain-Begrenzer Stereo
|
|
|
|
- Sidechain Dynamic Processor LeftRight - Sidechain-Dynamikprozessor LeftRight
|
|
|
|
- Sidechain Dynamic Processor MidSide - Sidechain-Dynamikprozessor MidSide
|
|
|
|
- Sidechain Dynamic Processor Mono - Sidechain-Dynamikprozessor Mono
|
|
|
|
- Sidechain Dynamic Processor Stereo - Sidechain-Dynamikprozessor Stereo
|
|
|
|
- Sidechain Expander LeftRight - Sidechain-Expander LeftRight
|
|
|
|
- Sidechain Expander MidSide - Sidechain-Expander MidSide
|
|
|
|
- Sidechain Expander Mono - Sidechain-Expander Mono
|
|
|
|
- Sidechain Expander Stereo - Sidechain-Expander Stereo
|
|
|
|
- Sidechain Gate LeftRight - Sidechain-Gate LeftRight
|
|
|
|
- Sidechain Gate MidSide - Sidechain-Gate MidSide
|
|
|
|
- Sidechain Gate Mono - Sidechain-Gate Mono
|
|
|
|
- Sidechain Gate Stereo - Sidechain-Gate Stereo
|
|
|
|
- Sidechain Compressor LeftRight - Sidechain-Kompressor LeftRight
|
|
|
|
- Sidechain Compressor MidSide - Sidechain-Kompressor MidSide
|
|
|
|
- Sidechain Compressor Mono - Sidechain-Kompressor Mono
|
|
|
|
- Sidechain Compressor Stereo - Sidechain-Kompressor Stereo
|
|
|
|
- Slapback Delay Mono - Slapback-Delay Mono
|
|
|
|
- Slapback Delay Stereo - Slapback-Delay Stereo
|
|
|
|
- Spectrum Analyzer x1 - Spektrumanalysator x1
|
|
|
|
- Spectrum Analyzer x12 - Spektrumanalysator x12
|
|
|
|
- Spectrum Analyzer x16 - Spektrumanalysator x16
|
|
|
|
- Spectrum Analyzer x2 - Spektrumanalysator x2
|
|
|
|
- Spectrum Analyzer x4 - Spektrumanalysator x4
|
|
|
|
- Spectrum Analyzer x8 - Spektrumanalysator x8
|
2020-09-21 16:14:06 +01:00
|
|
|
- Surge Filter Mono - Sprungfilter Mono
|
|
|
|
- Surge Filter Stereo - Sprungfilter Stereo
|
2018-10-03 00:30:23 +01:00
|
|
|
- Trigger MIDI Mono - Triggersensor MIDI Mono
|
|
|
|
- Trigger MIDI Stereo - Triggersensor MIDI Stereo
|
|
|
|
- Trigger Mono - Triggersensor Mono
|
|
|
|
- Trigger Stereo - Triggersensor Stereo
|
|
|
|
- Delay Compensator Mono - Verzögerungsausgleicher Mono
|
|
|
|
- Delay Compensator Stereo - Verzögerungsausgleicher Stereo
|
|
|
|
- Delay Compensator x2 Stereo - Verzögerungsausgleicher x2 Stereo
|
|
|
|
'';
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://lsp-plug.in";
|
2018-10-03 00:30:23 +01:00
|
|
|
maintainers = with maintainers; [ magnetophon ];
|
|
|
|
license = licenses.gpl2;
|
2019-12-23 21:32:43 +00:00
|
|
|
platforms = platforms.linux;
|
2018-10-03 00:30:23 +01:00
|
|
|
};
|
|
|
|
}
|