Merge pull request #271772 from uakci/renoise-version-bump
renoise: 3.3.2 → 3.4.3
This commit is contained in:
commit
855df076e6
2 changed files with 53 additions and 23 deletions
|
@ -19021,7 +19021,7 @@
|
||||||
};
|
};
|
||||||
uakci = {
|
uakci = {
|
||||||
name = "uakci";
|
name = "uakci";
|
||||||
email = "uakci@uakci.pl";
|
email = "git@uakci.space";
|
||||||
github = "uakci";
|
github = "uakci";
|
||||||
githubId = 6961268;
|
githubId = 6961268;
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,5 +1,18 @@
|
||||||
{ lib, stdenv, fetchurl, libX11, libXext, libXcursor, libXrandr, libjack2, alsa-lib
|
{ lib
|
||||||
, mpg123, releasePath ? null }:
|
, stdenv
|
||||||
|
, alsa-lib
|
||||||
|
, fetchurl
|
||||||
|
, libjack2
|
||||||
|
, libX11
|
||||||
|
, libXcursor
|
||||||
|
, libXext
|
||||||
|
, libXinerama
|
||||||
|
, libXrandr
|
||||||
|
, libXtst
|
||||||
|
, mpg123
|
||||||
|
, pipewire
|
||||||
|
, releasePath ? null
|
||||||
|
}:
|
||||||
|
|
||||||
# To use the full release version:
|
# To use the full release version:
|
||||||
# 1) Sign into https://backstage.renoise.com and download the release version to some stable location.
|
# 1) Sign into https://backstage.renoise.com and download the release version to some stable location.
|
||||||
|
@ -7,28 +20,44 @@
|
||||||
# Note: Renoise creates an individual build for each license which screws somewhat with the
|
# Note: Renoise creates an individual build for each license which screws somewhat with the
|
||||||
# use of functions like requireFile as the hash will be different for every user.
|
# use of functions like requireFile as the hash will be different for every user.
|
||||||
let
|
let
|
||||||
urlVersion = lib.replaceStrings [ "." ] [ "_" ];
|
platforms = {
|
||||||
in
|
x86_64-linux = {
|
||||||
|
archSuffix = "x86_64";
|
||||||
|
hash = "sha256-Etz6NaeLMysSkcQGC3g+IqUy9QrONCrbkyej63uLflo=";
|
||||||
|
};
|
||||||
|
aarch64-linux = {
|
||||||
|
archSuffix = "arm64";
|
||||||
|
hash = "sha256-PVpgxhJU8RY6QepydqImQnisWBjbrsuW4j49Xot3C6Y=";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
in stdenv.mkDerivation rec {
|
||||||
pname = "renoise";
|
pname = "renoise";
|
||||||
version = "3.3.2";
|
version = "3.4.3";
|
||||||
|
|
||||||
src =
|
src = if releasePath != null then
|
||||||
if stdenv.hostPlatform.system == "x86_64-linux" then
|
releasePath
|
||||||
if releasePath == null then
|
else
|
||||||
fetchurl {
|
let
|
||||||
urls = [
|
platform = platforms.${stdenv.system};
|
||||||
"https://files.renoise.com/demo/Renoise_${urlVersion version}_Demo_Linux.tar.gz"
|
urlVersion = lib.replaceStrings [ "." ] [ "_" ] version;
|
||||||
"https://web.archive.org/web/https://files.renoise.com/demo/Renoise_${urlVersion version}_Demo_Linux.tar.gz"
|
in fetchurl {
|
||||||
];
|
url =
|
||||||
sha256 = "0d9pnrvs93d4bwbfqxwyr3lg3k6gnzmp81m95gglzwdzczxkw38k";
|
"https://files.renoise.com/demo/Renoise_${urlVersion}_Demo_Linux_${platform.archSuffix}.tar.gz";
|
||||||
}
|
hash = platform.hash;
|
||||||
else
|
};
|
||||||
releasePath
|
|
||||||
else throw "Platform is not supported. Use installation native to your platform https://www.renoise.com/";
|
|
||||||
|
|
||||||
buildInputs = [ alsa-lib libjack2 libX11 libXcursor libXext libXrandr ];
|
buildInputs = [
|
||||||
|
alsa-lib
|
||||||
|
libjack2
|
||||||
|
libX11
|
||||||
|
libXcursor
|
||||||
|
libXext
|
||||||
|
libXinerama
|
||||||
|
libXrandr
|
||||||
|
libXtst
|
||||||
|
pipewire
|
||||||
|
];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
cp -r Resources $out
|
cp -r Resources $out
|
||||||
|
@ -79,7 +108,8 @@ stdenv.mkDerivation rec {
|
||||||
homepage = "https://www.renoise.com/";
|
homepage = "https://www.renoise.com/";
|
||||||
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
|
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
|
||||||
license = lib.licenses.unfree;
|
license = lib.licenses.unfree;
|
||||||
maintainers = [];
|
maintainers = with lib.maintainers; [ uakci ];
|
||||||
platforms = [ "x86_64-linux" ];
|
platforms = lib.attrNames platforms;
|
||||||
|
mainProgram = "renoise";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue