3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/audio/dragonfly-reverb/default.nix

36 lines
885 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, libjack2, libGL, pkgconfig, xorg }:
2018-04-11 20:54:05 +01:00
stdenv.mkDerivation rec {
name = "dragonfly-reverb-${src.rev}";
src = fetchFromGitHub {
owner = "michaelwillis";
repo = "dragonfly-reverb";
rev = "0.9.4";
sha256 = "0lc45jybjwg4wrcz4s9lvzpvqawgj825rkqhz2xxvalfbvjazi53";
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 = ''
mkdir -p $out/lib/lv2/
cp -a bin/DragonflyReverb.lv2/ $out/lib/lv2/
'';
meta = with stdenv.lib; {
homepage = https://github.com/michaelwillis/dragonfly-reverb;
description = "A hall-style reverb based on freeverb3 algorithms";
maintainers = [ maintainers.magnetophon ];
license = licenses.gpl2;
platforms = ["x86_64-linux"];
};
}