Skip to content

Commit

Permalink
renoise: 3.1.0 -> 3.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
timothee-haudebourg committed Dec 13, 2019
1 parent 0002a7d commit 5ec5a74
Showing 1 changed file with 11 additions and 17 deletions.
28 changes: 11 additions & 17 deletions pkgs/applications/audio/renoise/default.nix
Expand Up @@ -4,8 +4,7 @@
with stdenv.lib;

# To use the full release version:
# 1) Sign into https://backstage.renoise.com and download the appropriate (x86 or x86_64) version
# for your machine to some stable location.
# 1) Sign into https://backstage.renoise.com and download the release version to some stable location.
# 2) Override the releasePath attribute to point to the location of the newly downloaded bundle.
# 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.
Expand All @@ -15,25 +14,20 @@ in

stdenv.mkDerivation rec {
pname = "renoise";
version = "3.1.0";
version = "3.2.0";

src =
if stdenv.hostPlatform.system == "x86_64-linux" then
if releasePath == null then
fetchurl {
url = "https://files.renoise.com/demo/Renoise_${urlVersion version}_Demo_x86_64.tar.bz2";
sha256 = "0pan68fr22xbj7a930y29527vpry3f07q3i9ya4fp6g7aawffsga";
}
fetchurl {
urls = [
"https://files.renoise.com/demo/Renoise_${urlVersion version}_Demo_Linux.tar.gz"
"https://web.archive.org/web/https://files.renoise.com/demo/Renoise_${urlVersion version}_Demo_Linux.tar.gz"
];
sha256 = "0cfczzpk1ddz61nk4d72fydbm5nbgxqp95v81by2n87s1wffjjhi";
}
else
releasePath
else if stdenv.hostPlatform.system == "i686-linux" then
if releasePath == null then
fetchurl {
url = "http://files.renoise.com/demo/Renoise_${urlVersion version}_Demo_x86.tar.bz2";
sha256 = "1lccjj4k8hpqqxxham5v01v2rdwmx3c5kgy1p9lqvzqma88k4769";
}
else
releasePath
releasePath
else throw "Platform is not supported by Renoise";

buildInputs = [ alsaLib libjack2 libX11 libXcursor libXext libXrandr ];
Expand Down Expand Up @@ -69,6 +63,6 @@ stdenv.mkDerivation rec {
homepage = https://www.renoise.com/;
license = licenses.unfree;
maintainers = [];
platforms = [ "i686-linux" "x86_64-linux" ];
platforms = [ "x86_64-linux" ];
};
}

0 comments on commit 5ec5a74

Please sign in to comment.