git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #156733 from mihnea-s/master

redux: init at 1.2.2

commitae0fbd01e118afe964fa80a35cd33dae777d9b42 authorIvv <41924494+IvarWithoutBones@users.noreply.github.com> dateThu 10 Feb 2022, 21:18 (5 years ago) parentbfae513d4e5a11
3 files changed+57
maintainers/maintainer-list.nix+6 pkgs/applications/audio/redux/default.nix+49 pkgs/top-level/all-packages.nix+2
maintainers/maintainer-list.nix+6
@@ -7958,6 +7958,12 @@
79587958 fingerprint = "FEF0 AE2D 5449 3482 5F06 40AA 186A 1EDA C5C6 3F83";
79597959 }];
79607960 };
7961+ mihnea-s = {
7962+ email = "mihn.stn@gmail.com";
7963+ github = "mihnea-s";
7964+ githubId = 43088426;
7965+ name = "Mihnea Stoian";
7966+ };
79617967 mikefaille = {
79627968 email = "michael@faille.io";
79637969 github = "mikefaille";
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
@@ -28382,6 +28382,8 @@ with pkgs;
2838228382
2838328383 renoise = callPackage ../applications/audio/renoise {};
2838428384
28385+ redux = callPackage ../applications/audio/redux { };
28386+
2838528387 roomeqwizard = callPackage ../applications/audio/roomeqwizard { };
2838628388
2838728389 radiotray-ng = callPackage ../applications/audio/radiotray-ng {