2018-10-23 12:42:01 +02:00
|
|
|
{ stdenv, fetchFromGitHub, libjack2, libGL, pkgconfig, xorg }:
|
2018-04-11 21:54:05 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-04-26 23:40:50 +02:00
|
|
|
pname = "dragonfly-reverb";
|
|
|
|
version = "1.1.4";
|
2018-04-11 21:54:05 +02:00
|
|
|
|
2018-10-23 12:42:01 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "michaelwillis";
|
|
|
|
repo = "dragonfly-reverb";
|
2019-04-26 23:40:50 +02:00
|
|
|
rev = version;
|
|
|
|
sha256 = "060g4ddh1z222n39wqj8jxj0zgmpjrgraw76qgyg6xkn15cn9q9y";
|
2018-10-23 12:42:01 +02:00
|
|
|
fetchSubmodules = true;
|
2018-04-11 21:54:05 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
patchPhase = ''
|
|
|
|
patchShebangs dpf/utils/generate-ttl.sh
|
|
|
|
'';
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [
|
|
|
|
libjack2 xorg.libX11 libGL
|
|
|
|
];
|
|
|
|
|
|
|
|
installPhase = ''
|
2019-04-26 23:40:50 +02:00
|
|
|
mkdir -p $out/bin
|
2018-04-11 21:54:05 +02:00
|
|
|
mkdir -p $out/lib/lv2/
|
2019-04-26 23:40:50 +02:00
|
|
|
mkdir -p $out/lib/vst/
|
|
|
|
cd bin
|
|
|
|
cp -a DragonflyReverb $out/bin/
|
|
|
|
cp -a DragonflyReverb-vst.so $out/lib/vst/
|
|
|
|
cp -a DragonflyReverb.lv2/ $out/lib/lv2/
|
2018-04-11 21:54:05 +02:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://github.com/michaelwillis/dragonfly-reverb;
|
|
|
|
description = "A hall-style reverb based on freeverb3 algorithms";
|
|
|
|
maintainers = [ maintainers.magnetophon ];
|
2019-04-26 23:40:50 +02:00
|
|
|
license = licenses.gpl3;
|
2018-04-11 21:54:05 +02:00
|
|
|
platforms = ["x86_64-linux"];
|
|
|
|
};
|
|
|
|
}
|