lol

Merge pull request #271772 from uakci/renoise-version-bump

renoise: 3.3.2 → 3.4.3

authored by

Peder Bergebakken Sundt and committed by
GitHub
855df076 9f434bd4

+53 -23
+1 -1
maintainers/maintainer-list.nix
··· 19021 19021 }; 19022 19022 uakci = { 19023 19023 name = "uakci"; 19024 - email = "uakci@uakci.pl"; 19024 + email = "git@uakci.space"; 19025 19025 github = "uakci"; 19026 19026 githubId = 6961268; 19027 19027 };
+52 -22
pkgs/applications/audio/renoise/default.nix
··· 1 - { lib, stdenv, fetchurl, libX11, libXext, libXcursor, libXrandr, libjack2, alsa-lib 2 - , mpg123, releasePath ? null }: 1 + { lib 2 + , stdenv 3 + , alsa-lib 4 + , fetchurl 5 + , libjack2 6 + , libX11 7 + , libXcursor 8 + , libXext 9 + , libXinerama 10 + , libXrandr 11 + , libXtst 12 + , mpg123 13 + , pipewire 14 + , releasePath ? null 15 + }: 3 16 4 17 # To use the full release version: 5 18 # 1) Sign into https://backstage.renoise.com and download the release version to some stable location. ··· 7 20 # Note: Renoise creates an individual build for each license which screws somewhat with the 8 21 # use of functions like requireFile as the hash will be different for every user. 9 22 let 10 - urlVersion = lib.replaceStrings [ "." ] [ "_" ]; 11 - in 23 + platforms = { 24 + x86_64-linux = { 25 + archSuffix = "x86_64"; 26 + hash = "sha256-Etz6NaeLMysSkcQGC3g+IqUy9QrONCrbkyej63uLflo="; 27 + }; 28 + aarch64-linux = { 29 + archSuffix = "arm64"; 30 + hash = "sha256-PVpgxhJU8RY6QepydqImQnisWBjbrsuW4j49Xot3C6Y="; 31 + }; 32 + }; 12 33 13 - stdenv.mkDerivation rec { 34 + in stdenv.mkDerivation rec { 14 35 pname = "renoise"; 15 - version = "3.3.2"; 36 + version = "3.4.3"; 16 37 17 - src = 18 - if stdenv.hostPlatform.system == "x86_64-linux" then 19 - if releasePath == null then 20 - fetchurl { 21 - urls = [ 22 - "https://files.renoise.com/demo/Renoise_${urlVersion version}_Demo_Linux.tar.gz" 23 - "https://web.archive.org/web/https://files.renoise.com/demo/Renoise_${urlVersion version}_Demo_Linux.tar.gz" 24 - ]; 25 - sha256 = "0d9pnrvs93d4bwbfqxwyr3lg3k6gnzmp81m95gglzwdzczxkw38k"; 26 - } 27 - else 28 - releasePath 29 - else throw "Platform is not supported. Use installation native to your platform https://www.renoise.com/"; 38 + src = if releasePath != null then 39 + releasePath 40 + else 41 + let 42 + platform = platforms.${stdenv.system}; 43 + urlVersion = lib.replaceStrings [ "." ] [ "_" ] version; 44 + in fetchurl { 45 + url = 46 + "https://files.renoise.com/demo/Renoise_${urlVersion}_Demo_Linux_${platform.archSuffix}.tar.gz"; 47 + hash = platform.hash; 48 + }; 30 49 31 - buildInputs = [ alsa-lib libjack2 libX11 libXcursor libXext libXrandr ]; 50 + buildInputs = [ 51 + alsa-lib 52 + libjack2 53 + libX11 54 + libXcursor 55 + libXext 56 + libXinerama 57 + libXrandr 58 + libXtst 59 + pipewire 60 + ]; 32 61 33 62 installPhase = '' 34 63 cp -r Resources $out ··· 79 108 homepage = "https://www.renoise.com/"; 80 109 sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ]; 81 110 license = lib.licenses.unfree; 82 - maintainers = []; 83 - platforms = [ "x86_64-linux" ]; 111 + maintainers = with lib.maintainers; [ uakci ]; 112 + platforms = lib.attrNames platforms; 113 + mainProgram = "renoise"; 84 114 }; 85 115 }