Unverified Commit 19cb6124 authored by Mario Rodas's avatar Mario Rodas Committed by GitHub
Browse files

Merge pull request #181321 from mihnea-s/redux

redux: 1.2.2 -> 1.3.2
parents f21d5ab1 5ded7b6d
Loading
Loading
Loading
Loading
+10 −4
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
, stdenv
, fetchurl
, libX11
, libXext
, alsa-lib
, autoPatchelfHook
, releasePath ? null
@@ -15,19 +16,24 @@

stdenv.mkDerivation rec {
  pname = "redux";
  version = "1.2.2";
  version = "1.3.2";

  src = if releasePath != null then releasePath
    else fetchurl {
      url = "https://files.renoise.com/demo/Renoise_Redux_${lib.replaceStrings ["."] ["_"] version}_Demo_Linux.tar.gz";
      sha256 = "0zbwsg7nh9x3q29jv2kpqb3vwi0ksdwybhb4m2qr95rxrpx1kxhm";
      url = "https://files.renoise.com/demo/Renoise_Redux_${lib.replaceStrings ["."] ["_"] version}_Demo_Linux_x86_64.tar.gz";
      sha256 = "sha256-wafOeNvVIHc8pOHoNQcCwV8+OwnuevJo1EcRQKRX4YA=";
    };

  nativeBuildInputs = [
    autoPatchelfHook
  ];

  buildInputs = [ libX11 alsa-lib stdenv.cc.cc.lib ];
  buildInputs = [
    libX11
    libXext
    alsa-lib
    stdenv.cc.cc.lib
  ];

  installPhase = ''
    runHook preInstall