2018-10-23 11:42:01 +01:00
|
|
|
{ stdenv, fetchFromGitHub, libjack2, libGL, pkgconfig, xorg }:
|
2018-04-11 20:54:05 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-04-26 22:40:50 +01:00
|
|
|
pname = "dragonfly-reverb";
|
2019-07-19 16:42:22 +01:00
|
|
|
version = "2.0.0";
|
2018-04-11 20:54:05 +01:00
|
|
|
|
2018-10-23 11:42:01 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "michaelwillis";
|
|
|
|
repo = "dragonfly-reverb";
|
2019-04-26 22:40:50 +01:00
|
|
|
rev = version;
|
2019-07-19 16:42:22 +01:00
|
|
|
sha256 = "1qrbv4kk5v6ynx424h1i54qj0w8v6vpw81b759jawxvzzprpgq72";
|
2018-10-23 11:42:01 +01:00
|
|
|
fetchSubmodules = true;
|
2018-04-11 20:54:05 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
patchPhase = ''
|
|
|
|
patchShebangs dpf/utils/generate-ttl.sh
|
|
|
|
'';
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [
|
|
|
|
libjack2 xorg.libX11 libGL
|
|
|
|
];
|
|
|
|
|
|
|
|
installPhase = ''
|
2019-04-26 22:40:50 +01:00
|
|
|
mkdir -p $out/bin
|
2018-04-11 20:54:05 +01:00
|
|
|
mkdir -p $out/lib/lv2/
|
2019-04-26 22:40:50 +01:00
|
|
|
mkdir -p $out/lib/vst/
|
|
|
|
cd bin
|
2019-07-19 16:42:22 +01:00
|
|
|
for bin in DragonflyHallReverb DragonflyRoomReverb; do
|
|
|
|
cp -a $bin $out/bin/
|
|
|
|
cp -a $bin-vst.so $out/lib/vst/
|
|
|
|
cp -a $bin.lv2/ $out/lib/lv2/ ;
|
|
|
|
done
|
2018-04-11 20:54:05 +01: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 22:40:50 +01:00
|
|
|
license = licenses.gpl3;
|
2018-04-11 20:54:05 +01:00
|
|
|
platforms = ["x86_64-linux"];
|
|
|
|
};
|
|
|
|
}
|