nixpkgs/pkgs/applications/audio/dragonfly-reverb/default.nix

44 lines
1.1 KiB
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, libjack2, libGL, pkgconfig, xorg }:
2018-04-11 19:54:05 +00:00
stdenv.mkDerivation rec {
2019-04-26 21:40:50 +00:00
pname = "dragonfly-reverb";
2020-08-29 18:00:54 +00:00
version = "3.2.1";
2018-04-11 19:54:05 +00:00
src = fetchFromGitHub {
owner = "michaelwillis";
repo = "dragonfly-reverb";
2019-04-26 21:40:50 +00:00
rev = version;
2020-08-29 18:00:54 +00:00
sha256 = "0vfm2510shah67k87mdyar4wr4vqwii59y9lqfhwm6blxparkrqa";
fetchSubmodules = true;
2018-04-11 19:54:05 +00:00
};
patchPhase = ''
patchShebangs dpf/utils/generate-ttl.sh
'';
nativeBuildInputs = [ pkgconfig ];
buildInputs = [
libjack2 xorg.libX11 libGL
];
installPhase = ''
2019-04-26 21:40:50 +00:00
mkdir -p $out/bin
2018-04-11 19:54:05 +00:00
mkdir -p $out/lib/lv2/
2019-04-26 21:40:50 +00:00
mkdir -p $out/lib/vst/
cd bin
2020-03-03 03:33:39 +00:00
for bin in DragonflyEarlyReflections DragonflyPlateReverb DragonflyHallReverb DragonflyRoomReverb; do
2019-07-19 15:42:22 +00:00
cp -a $bin $out/bin/
cp -a $bin-vst.so $out/lib/vst/
cp -a $bin.lv2/ $out/lib/lv2/ ;
done
2018-04-11 19:54:05 +00:00
'';
meta = with lib; {
homepage = "https://github.com/michaelwillis/dragonfly-reverb";
2018-04-11 19:54:05 +00:00
description = "A hall-style reverb based on freeverb3 algorithms";
maintainers = [ maintainers.magnetophon ];
2019-04-26 21:40:50 +00:00
license = licenses.gpl3;
2018-04-11 19:54:05 +00:00
platforms = ["x86_64-linux"];
};
}