2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, libjack2, libGL, pkg-config, xorg }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "dragonfly-reverb";
|
2020-09-25 04:45:31 +00:00
|
|
|
version = "3.2.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "michaelwillis";
|
|
|
|
repo = "dragonfly-reverb";
|
|
|
|
rev = version;
|
2020-09-25 04:45:31 +00:00
|
|
|
sha256 = "0vfm2510shah67k87mdyar4wr4vqwii59y9lqfhwm6blxparkrqa";
|
2020-04-24 23:36:52 +00:00
|
|
|
fetchSubmodules = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
patchPhase = ''
|
|
|
|
patchShebangs dpf/utils/generate-ttl.sh
|
|
|
|
'';
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [
|
|
|
|
libjack2 xorg.libX11 libGL
|
|
|
|
];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
mkdir -p $out/lib/lv2/
|
|
|
|
mkdir -p $out/lib/vst/
|
|
|
|
cd bin
|
|
|
|
for bin in DragonflyEarlyReflections DragonflyPlateReverb DragonflyHallReverb DragonflyRoomReverb; do
|
|
|
|
cp -a $bin $out/bin/
|
|
|
|
cp -a $bin-vst.so $out/lib/vst/
|
|
|
|
cp -a $bin.lv2/ $out/lib/lv2/ ;
|
|
|
|
done
|
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/michaelwillis/dragonfly-reverb";
|
|
|
|
description = "A hall-style reverb based on freeverb3 algorithms";
|
|
|
|
maintainers = [ maintainers.magnetophon ];
|
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = ["x86_64-linux"];
|
|
|
|
};
|
|
|
|
}
|