mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
renoise: 3.0.1 -> 3.1.0 (#28380)
Replaced demo parameter with releasePath parameter.
This commit is contained in:
parent
ea064461cb
commit
830d8b3b8f
@ -1,36 +1,35 @@
|
|||||||
{ stdenv, lib, requireFile, demo, fetchurl, libX11, libXext, libXcursor, libXrandr, libjack2, alsaLib, ... }:
|
{ stdenv, lib, fetchurl, libX11, libXext, libXcursor, libXrandr, libjack2, alsaLib, releasePath ? null }:
|
||||||
|
|
||||||
|
# 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.
|
||||||
|
# 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.
|
||||||
|
let fileversion = "3_1_0";
|
||||||
|
in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "renoise";
|
name = "renoise";
|
||||||
|
|
||||||
buildInputs = [ libX11 libXext libXcursor libXrandr alsaLib libjack2 ];
|
buildInputs = [ libX11 libXext libXcursor libXrandr alsaLib libjack2 ];
|
||||||
|
|
||||||
src =
|
src =
|
||||||
if stdenv.system == "x86_64-linux" then
|
if stdenv.system == "x86_64-linux" then
|
||||||
if demo then
|
if builtins.isNull releasePath then
|
||||||
fetchurl {
|
fetchurl {
|
||||||
url = "http://files.renoise.com/demo/Renoise_3_0_1_Demo_x86_64.tar.bz2";
|
url = "http://files.renoise.com/demo/Renoise_${fileversion}_Demo_x86_64.tar.bz2";
|
||||||
sha256 = "1q7f94wz2dbz659kpp53a3n1qyndsk0pkb29lxdff4pc3ddqwykg";
|
sha256 = "0pan68fr22xbj7a930y29527vpry3f07q3i9ya4fp6g7aawffsga";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
requireFile {
|
releasePath
|
||||||
url = "http://backstage.renoise.com/frontend/app/index.html#/login";
|
|
||||||
name = "rns_3_0_1_linux_x86_64.tar.gz";
|
|
||||||
sha256 = "1yb5w5jrg9dk9fg5rfvfk6p0rxn4r4i32vxp2l9lzhbs02pv15wd";
|
|
||||||
}
|
|
||||||
else if stdenv.system == "i686-linux" then
|
else if stdenv.system == "i686-linux" then
|
||||||
if demo then
|
if builtins.isNull releasePath then
|
||||||
fetchurl {
|
fetchurl {
|
||||||
url = "http://files.renoise.com/demo/Renoise_3_0_1_Demo_x86.tar.bz2";
|
url = "http://files.renoise.com/demo/Renoise_${fileversion}_Demo_x86.tar.bz2";
|
||||||
sha256 = "0dgqvib4xh2yhgh2wajj11wsb6xiiwgfkhyz32g8vnyaij5q8f58";
|
sha256 = "1lccjj4k8hpqqxxham5v01v2rdwmx3c5kgy1p9lqvzqma88k4769";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
requireFile {
|
releasePath
|
||||||
url = "http://backstage.renoise.com/frontend/app/index.html#/login";
|
else throw "Platform is not supported by Renoise";
|
||||||
name = "rns_3_0_1_reg_x86.tar.gz";
|
|
||||||
sha256 = "1swax2jz0gswdpzz8alwjfd8rhigc2yfspj7p8wvdvylqrf7n8q7";
|
|
||||||
}
|
|
||||||
else throw "platform is not suppored by Renoise";
|
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
cp -r Resources $out
|
cp -r Resources $out
|
||||||
|
@ -15823,9 +15823,7 @@ with pkgs;
|
|||||||
rancher-compose
|
rancher-compose
|
||||||
rancher-compose_0_10;
|
rancher-compose_0_10;
|
||||||
|
|
||||||
renoise = callPackage ../applications/audio/renoise {
|
renoise = callPackage ../applications/audio/renoise {};
|
||||||
demo = false;
|
|
||||||
};
|
|
||||||
|
|
||||||
rapcad = libsForQt56.callPackage ../applications/graphics/rapcad { boost = boost159; };
|
rapcad = libsForQt56.callPackage ../applications/graphics/rapcad { boost = boost159; };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user