diff --git a/pkgs/reaper/default.nix b/pkgs/reaper/default.nix index 45dff7c..51f27c3 100644 --- a/pkgs/reaper/default.nix +++ b/pkgs/reaper/default.nix @@ -1,16 +1,16 @@ { stdenv, fetchurl, autoPatchelfHook, makeWrapper , alsaLib, xorg , gnome3, gtk3, pango, gdk_pixbuf, cairo, glib, freetype -, libpulseaudio, xdg_utils +, libpulseaudio, libjack2, xdg_utils }: stdenv.mkDerivation rec { name = "reaper-${version}"; - version = "6.03"; + version = "6.08"; src = fetchurl { url = "https://www.reaper.fm/files/${stdenv.lib.versions.major version}.x/reaper${builtins.replaceStrings ["."] [""] version}_linux_x86_64.tar.xz"; - sha256 = "144ciziy7cd3jjfdwj0kppjyy3hjnz93w863ckbnkyjjx7ssmz14"; + sha256 = "1h8yyhx41x6mi1l03fq601c4ilh3pchnji923yfkiw6qi73pykl5"; }; nativeBuildInputs = [ autoPatchelfHook makeWrapper ]; @@ -43,7 +43,8 @@ stdenv.mkDerivation rec { rm $out/opt/REAPER/uninstall-reaper.sh wrapProgram $out/opt/REAPER/reaper \ - --prefix LD_LIBRARY_PATH : ${libpulseaudio}/lib + --prefix LD_LIBRARY_PATH : ${stdenv.lib.makeLibraryPath [ libpulseaudio libjack2 ]} + mkdir $out/bin ln -s $out/opt/REAPER/reaper $out/bin/