12 # To use the full release version (same as renoise):
13 # 1) Sign into https://backstage.renoise.com and download the release version to some stable location.
14 # 2) Override the releasePath attribute to point to the location of the newly downloaded bundle.
15 # Note: Renoise creates an individual build for each license which screws somewhat with the
16 # use of functions like requireFile as the hash will be different for every user.
18 stdenv.mkDerivation rec {
22 src = if releasePath != null then releasePath
25 "https://files.renoise.com/demo/Renoise_Redux_${lib.replaceStrings ["."] ["_"] version}_Demo_Linux_x86_64.tar.gz"
26 "https://files.renoise.com/demo/archive/Renoise_Redux_${lib.replaceStrings ["."] ["_"] version}_Demo_Linux_x86_64.tar.gz"
28 sha256 = "sha256-eznsdLzgdJ7MyWe5WAEg1MHId5VlfyanoZ6+I9nI/0I=";
39 (lib.getLib stdenv.cc.cc)
45 OUTDIR=$out/lib/vst2/RenoiseRedux.vst2
47 cp -r ./renoise_redux_x86_64/* $OUTDIR
53 passthru.updateScript = writeScript "update-redux" ''
54 #!/usr/bin/env nix-shell
55 #!nix-shell -I nixpkgs=./. -i bash -p curl htmlq common-updater-scripts
59 curl 'https://files.renoise.com/demo/' \
61 | grep -E '^Renoise_Redux_([0-9]+_?)+_Demo_Linux_x86_64\.tar\.gz$' \
62 | grep -Eo '[0-9]+(_[0-9]+)*' \
66 update-source-version redux "$new_version" --system="x86_64-linux"
70 description = "Sample-based instrument, with a powerful phrase sequencer";
71 homepage = "https://www.renoise.com/products/redux";
72 sourceProvenance = with sourceTypes; [ binaryNativeCode ];
73 license = licenses.unfree;
74 maintainers = with maintainers; [ mihnea-s ];
75 platforms = [ "x86_64-linux" ];