reaper: 6.29 -> 6.38 (#141914)

Dispatch based on hostPlatform.system, similar to how it is done for
example in sbclBootstrap.

authored by

Orivej Desh and committed by
GitHub
4949d293 d71650de

+7 -5
+7 -5
pkgs/applications/audio/reaper/default.nix
··· 17 18 stdenv.mkDerivation rec { 19 pname = "reaper"; 20 - version = "6.29"; 21 22 src = fetchurl { 23 - url = "https://www.reaper.fm/files/${lib.versions.major version}.x/reaper${builtins.replaceStrings ["."] [""] version}_linux_${stdenv.targetPlatform.qemuArch}.tar.xz"; 24 - hash = if stdenv.isx86_64 then "sha256-DOul6J2Y7szy4+Q4SeO0uG6PSuU+MELE7ky8W3mSpTQ=" 25 - else "sha256-67iTi6bFlbQtyCjnPIjK8K/3aV+zaCsWBRCWmgYonM4="; 26 }; 27 28 nativeBuildInputs = [ ··· 76 homepage = "https://www.reaper.fm/"; 77 license = licenses.unfree; 78 platforms = [ "x86_64-linux" "aarch64-linux" ]; 79 - maintainers = with maintainers; [ jfrankenau ilian ]; 80 }; 81 }
··· 17 18 stdenv.mkDerivation rec { 19 pname = "reaper"; 20 + version = "6.38"; 21 22 src = fetchurl { 23 + url = "https://www.reaper.fm/files/${lib.versions.major version}.x/reaper${builtins.replaceStrings ["."] [""] version}_linux_${stdenv.hostPlatform.qemuArch}.tar.xz"; 24 + hash = { 25 + x86_64-linux = "sha256-K5EnrmzP8pyW9dR1fbMzkPzpS6aHm8JF1+m3afnH4rU="; 26 + aarch64-linux = "sha256-6wNWDXjQNyfU2l9Xi9JtmAuoKtHuIY5cvNMjYkwh2Sk="; 27 + }.${stdenv.hostPlatform.system}; 28 }; 29 30 nativeBuildInputs = [ ··· 78 homepage = "https://www.reaper.fm/"; 79 license = licenses.unfree; 80 platforms = [ "x86_64-linux" "aarch64-linux" ]; 81 + maintainers = with maintainers; [ jfrankenau ilian orivej ]; 82 }; 83 }