Update Reaper

This commit is contained in:
EEva (JPotier) 2021-02-27 09:40:08 +02:00
parent a9c48c845f
commit aaced088e1

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, autoPatchelfHook, makeWrapper { stdenv, lib, fetchurl, autoPatchelfHook, makeWrapper
, alsaLib, xorg, libjack2 , alsaLib, xorg, libjack2
, gtk3, pango, gdk-pixbuf, cairo, glib, freetype , gtk3, pango, gdk-pixbuf, cairo, glib, freetype
, libpulseaudio, xdg_utils , libpulseaudio, xdg_utils
@ -6,11 +6,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "reaper-${version}"; name = "reaper-${version}";
version = "6.20"; version = "6.23";
src = fetchurl { src = fetchurl {
url = "https://www.reaper.fm/files/${stdenv.lib.versions.major version}.x/reaper${builtins.replaceStrings ["."] [""] version}_linux_x86_64.tar.xz"; url = "https://www.reaper.fm/files/${lib.versions.major version}.x/reaper${builtins.replaceStrings ["."] [""] version}_linux_x86_64.tar.xz";
sha256 = "194xglhk74ks534r3d00v84s26s4yybxkhb4h8k5rqp76g0jv635"; sha256 = "1s9c8prqk38738hjaixiy8ljp94cqw7jq3160890477jyk6cvicd";
}; };
nativeBuildInputs = [ autoPatchelfHook makeWrapper ]; nativeBuildInputs = [ autoPatchelfHook makeWrapper ];
@ -43,7 +43,7 @@ stdenv.mkDerivation rec {
rm $out/opt/REAPER/uninstall-reaper.sh rm $out/opt/REAPER/uninstall-reaper.sh
wrapProgram $out/opt/REAPER/reaper \ wrapProgram $out/opt/REAPER/reaper \
--prefix LD_LIBRARY_PATH : "${stdenv.lib.makeLibraryPath [ libpulseaudio libjack2 ]}" --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ libpulseaudio libjack2 ]}"
cp -rv ${./jsfx}/* $out/opt/REAPER/InstallData/Effects/ cp -rv ${./jsfx}/* $out/opt/REAPER/InstallData/Effects/
@ -52,7 +52,7 @@ stdenv.mkDerivation rec {
ln -s $out/opt/REAPER/reamote-server $out/bin/ ln -s $out/opt/REAPER/reamote-server $out/bin/
''; '';
meta = with stdenv.lib; { meta = with lib; {
description = "Digital audio workstation"; description = "Digital audio workstation";
homepage = "https://www.reaper.fm/"; homepage = "https://www.reaper.fm/";
license = licenses.unfree; license = licenses.unfree;