2021-01-19 07:50:56 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, pkg-config, makeWrapper
|
2021-03-14 17:03:47 +01:00
|
|
|
, libsndfile, jack2
|
2018-10-03 01:30:23 +02:00
|
|
|
, libGLU, libGL, lv2, cairo
|
2019-12-23 22:32:43 +01:00
|
|
|
, ladspaH, php }:
|
2018-10-03 01:30:23 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "lsp-plugins";
|
2021-12-25 21:39:54 +01:00
|
|
|
version = "1.1.31";
|
2018-10-03 01:30:23 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "sadko4u";
|
2019-09-09 01:38:31 +02:00
|
|
|
repo = pname;
|
2021-06-28 13:00:08 +02:00
|
|
|
rev = version;
|
2021-12-25 21:39:54 +01:00
|
|
|
sha256 = "sha256-P1woSkenSlVUwWr3q0sNv8K2fVtTa6zWwKfSHQgg9Xw=";
|
2018-10-03 01:30:23 +02:00
|
|
|
};
|
|
|
|
|
2021-01-19 07:50:56 +01:00
|
|
|
nativeBuildInputs = [ pkg-config php makeWrapper ];
|
2021-03-14 17:03:47 +01:00
|
|
|
buildInputs = [ jack2 libsndfile libGLU libGL lv2 cairo ladspaH ];
|
2018-10-03 01:30:23 +02:00
|
|
|
|
|
|
|
makeFlags = [
|
2021-01-24 10:19:10 +01:00
|
|
|
"PREFIX=${placeholder "out"}"
|
2020-03-29 17:38:06 +02:00
|
|
|
"ETC_PATH=$(out)/etc"
|
2018-10-03 01:30:23 +02:00
|
|
|
];
|
|
|
|
|
2019-10-30 12:34:47 +01:00
|
|
|
NIX_CFLAGS_COMPILE = "-DLSP_NO_EXPERIMENTAL";
|
2018-10-03 01:30:23 +02: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 22:32:43 +01:00
|
|
|
buildFlags = [ "release" ];
|
2018-10-03 01:30:23 +02:00
|
|
|
|
2021-06-28 13:00:08 +02:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2021-01-15 14:21:58 +01:00
|
|
|
meta = with lib;
|
2018-10-03 01:30:23 +02: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 17:14:06 +02: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 01:30:23 +02: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
|
2021-06-28 13:00:08 +02:00
|
|
|
- Artistic Delay Mono - Künstlerische Verzögerung
|
|
|
|
- Artistic Delay Stereo - Künstlerische Verzögerung
|
2018-10-03 01:30:23 +02:00
|
|
|
- Latency Meter - Latenzmessgerät
|
2020-09-21 17:14:06 +02: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 01:30:23 +02: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
|
2021-06-28 13:00:08 +02:00
|
|
|
- Oscilloscope x1 - Oscilloscope x1
|
|
|
|
- Oscilloscope x2 - Oscilloscope x2
|
|
|
|
- Oscilloscope x4 - Oscilloscope x4
|
2018-10-03 01:30:23 +02:00
|
|
|
- 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 17:14:06 +02:00
|
|
|
- Profiler Stereo - Profiler Stereo
|
|
|
|
- Room Builder Mono - Raumbaumeister Mono
|
|
|
|
- Room Builder Stereo - Raumbaumeister Stereo
|
2018-10-03 01:30:23 +02: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 17:14:06 +02: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 01:30:23 +02: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 17:14:06 +02:00
|
|
|
- Surge Filter Mono - Sprungfilter Mono
|
|
|
|
- Surge Filter Stereo - Sprungfilter Stereo
|
2018-10-03 01:30:23 +02: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 03:11:51 +02:00
|
|
|
homepage = "https://lsp-plug.in";
|
2018-10-03 01:30:23 +02:00
|
|
|
maintainers = with maintainers; [ magnetophon ];
|
|
|
|
license = licenses.gpl2;
|
2019-12-23 22:32:43 +01:00
|
|
|
platforms = platforms.linux;
|
2018-10-03 01:30:23 +02:00
|
|
|
};
|
|
|
|
}
|