git.iko.soy/typeable/nixpkgs
on master help sign in
redux: init at 1.2.2
commitd4e5a11c50b1f67c676fe06c41bd03396aa6a922 authormihnea <mihn.stn@gmail.com> dateSat 5 Feb 2022, 12:39 (5 years ago) parent87a0212
2 files changed+51
pkgs/applications/audio/redux/default.nix+49 pkgs/top-level/all-packages.nix+2
pkgs/applications/audio/redux/default.nixnew file+49
@@ -0,0 +1,49 @@
1+{ lib
2+, stdenv
3+, fetchurl
4+, libX11
5+, alsa-lib
6+, autoPatchelfHook
7+, releasePath ? null
8+}:
9+
10+# To use the full release version (same as renoise):
11+# 1) Sign into https://backstage.renoise.com and download the release version to some stable location.
12+# 2) Override the releasePath attribute to point to the location of the newly downloaded bundle.
13+# Note: Renoise creates an individual build for each license which screws somewhat with the
14+# use of functions like requireFile as the hash will be different for every user.
15+
16+stdenv.mkDerivation rec {
17+ pname = "redux";
18+ version = "1.2.2";
19+
20+ src = if releasePath != null then releasePath
21+ else fetchurl {
22+ url = "https://files.renoise.com/demo/Renoise_Redux_${lib.replaceStrings ["."] ["_"] version}_Demo_Linux.tar.gz";
23+ sha256 = "0zbwsg7nh9x3q29jv2kpqb3vwi0ksdwybhb4m2qr95rxrpx1kxhm";
24+ };
25+
26+ nativeBuildInputs = [
27+ autoPatchelfHook
28+ ];
29+
30+ buildInputs = [ libX11 alsa-lib stdenv.cc.cc.lib ];
31+
32+ installPhase = ''
33+ runHook preInstall
34+
35+ OUTDIR=$out/lib/vst2/RenoiseRedux.vst2
36+ mkdir -p $OUTDIR
37+ cp -r ./renoise_redux_x86_64/* $OUTDIR
38+
39+ runHook postInstall
40+ '';
41+
42+ meta = with lib; {
43+ description = "Sample-based instrument, with a powerful phrase sequencer";
44+ homepage = "https://www.renoise.com/products/redux";
45+ license = licenses.unfree;
46+ maintainers = with maintainers; [ mihnea-s ];
47+ platforms = [ "x86_64-linux" ];
48+ };
49+}
pkgs/top-level/all-packages.nix+2
@@ -28380,6 +28380,8 @@ with pkgs;
2838028380
2838128381 renoise = callPackage ../applications/audio/renoise {};
2838228382
28383+ redux = callPackage ../applications/audio/redux { };
28384+
2838328385 roomeqwizard = callPackage ../applications/audio/roomeqwizard { };
2838428386
2838528387 radiotray-ng = callPackage ../applications/audio/radiotray-ng {