22 lines
629 B
Nix
22 lines
629 B
Nix
|
{ pkgs, ... }:
|
||
|
let
|
||
|
platforms = {
|
||
|
x86_64-linux = {
|
||
|
archSuffix = "x86_64";
|
||
|
hash = "sha256-b+YXBVnxu54HfC/tWapcs/ZYzwBOJswYbEbEU3SVNss=";
|
||
|
};
|
||
|
aarch64-linux = {
|
||
|
archSuffix = "arm64";
|
||
|
hash = "sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=";
|
||
|
};
|
||
|
};
|
||
|
platform = platforms.${pkgs.stdenv.system} or (throw "unsupported system ${pkgs.stdenv.hostPlatform.system}");
|
||
|
in
|
||
|
pkgs.renoise.overrideAttrs (final: prev: {
|
||
|
version = "3.4.4";
|
||
|
src = pkgs.fetchurl {
|
||
|
url = "https://files.renoise.com/demo/Renoise_3_4_4_Demo_Linux_${platform.archSuffix}.tar.gz";
|
||
|
hash = platform.hash;
|
||
|
};
|
||
|
})
|