anchor.diff:      homepage = https://www.renoise.com/;
       license = licenses.unfree;
       maintainers = [];
  -    platforms = [ "i686-linux" "x86_64-linux" ];
  +    platforms = [ "x86_64-linux" ];
     };
   }
  
positive.code: with stdenv.lib;
  
  # 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.
  
negative.code: 
  stdenv.mkDerivation rec {
    pname = "renoise";
    version = "3.2.0";
  
    src =
      if stdenv.hostPlatform.system == "x86_64-linux" then
          if releasePath == null then
  		    fetchurl {
  		      urls = [
  		          "https://files.renoise.com/demo/Renoise_${urlVersion version}_Demo_Linux.tar.gz"
  		          "https://web.archive.org/web/https://files.renoise.com/demo/Renoise_${urlVersion version}_Demo_Linux.tar.gz"
  		      ];
  		      sha256 = "0cfczzpk1ddz61nk4d72fydbm5nbgxqp95v81by2n87s1wffjjhi";
  		    }
          else
          	releasePath
      else throw "Platform is not supported by Renoise";
  
    buildInputs = [ alsaLib libjack2 libX11 libXcursor libXext libXrandr ];
  