diff options
author | Orivej Desh <orivej@gmx.fr> | 2021-10-19 10:21:54 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-19 10:21:54 +0000 |
commit | 4949d2930be526d674847b052d989ca6c1f3cec6 (patch) | |
tree | 0cb336a86a9bffcac8a8536c6685cba92fff4560 /pkgs/applications/audio/reaper | |
parent | d71650de1434c4e01465120309527dfc468ba7b9 (diff) |
reaper: 6.29 -> 6.38 (#141914)
Dispatch based on hostPlatform.system, similar to how it is done for example in sbclBootstrap.
Diffstat (limited to 'pkgs/applications/audio/reaper')
-rw-r--r-- | pkgs/applications/audio/reaper/default.nix | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/pkgs/applications/audio/reaper/default.nix b/pkgs/applications/audio/reaper/default.nix index 773560c83cadc..a7063b9f3e254 100644 --- a/pkgs/applications/audio/reaper/default.nix +++ b/pkgs/applications/audio/reaper/default.nix @@ -17,12 +17,14 @@ stdenv.mkDerivation rec { pname = "reaper"; - version = "6.29"; + version = "6.38"; src = fetchurl { - url = "https://www.reaper.fm/files/${lib.versions.major version}.x/reaper${builtins.replaceStrings ["."] [""] version}_linux_${stdenv.targetPlatform.qemuArch}.tar.xz"; - hash = if stdenv.isx86_64 then "sha256-DOul6J2Y7szy4+Q4SeO0uG6PSuU+MELE7ky8W3mSpTQ=" - else "sha256-67iTi6bFlbQtyCjnPIjK8K/3aV+zaCsWBRCWmgYonM4="; + url = "https://www.reaper.fm/files/${lib.versions.major version}.x/reaper${builtins.replaceStrings ["."] [""] version}_linux_${stdenv.hostPlatform.qemuArch}.tar.xz"; + hash = { + x86_64-linux = "sha256-K5EnrmzP8pyW9dR1fbMzkPzpS6aHm8JF1+m3afnH4rU="; + aarch64-linux = "sha256-6wNWDXjQNyfU2l9Xi9JtmAuoKtHuIY5cvNMjYkwh2Sk="; + }.${stdenv.hostPlatform.system}; }; nativeBuildInputs = [ @@ -76,6 +78,6 @@ stdenv.mkDerivation rec { homepage = "https://www.reaper.fm/"; license = licenses.unfree; platforms = [ "x86_64-linux" "aarch64-linux" ]; - maintainers = with maintainers; [ jfrankenau ilian ]; + maintainers = with maintainers; [ jfrankenau ilian orivej ]; }; } |