From 4949d2930be526d674847b052d989ca6c1f3cec6 Mon Sep 17 00:00:00 2001 From: Orivej Desh Date: Tue, 19 Oct 2021 10:21:54 +0000 Subject: [PATCH] reaper: 6.29 -> 6.38 (#141914) Dispatch based on hostPlatform.system, similar to how it is done for example in sbclBootstrap. --- pkgs/applications/audio/reaper/default.nix | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/pkgs/applications/audio/reaper/default.nix b/pkgs/applications/audio/reaper/default.nix index 773560c83cad..a7063b9f3e25 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 ]; }; }