diff --git a/pkgs/bitwig-studio/bitwig-studio3.nix b/pkgs/bitwig-studio/bitwig-studio3.nix index cfe342d..eb7935f 100644 --- a/pkgs/bitwig-studio/bitwig-studio3.nix +++ b/pkgs/bitwig-studio/bitwig-studio3.nix @@ -1,15 +1,22 @@ -{ stdenv, fetchurl, bitwig-studio2, ... }: +{ stdenv, fetchurl, bitwig-studio2, xorg, ... }: bitwig-studio2.overrideAttrs (oldAttrs: rec { name = "bitwig-studio-${version}"; - version = "3.0.3"; + version = "3.1.1"; src = fetchurl { - url = - "https://downloads.bitwig.com/stable/${version}/bitwig-studio-${version}.deb"; - sha256 = "162l95imq2fb4blfkianlkymm690by9ri73xf9zigknqf0gacgsa"; + url = "https://downloads.bitwig.com/stable/${version}/bitwig-studio-${version}.deb"; + sha256 = "1mgyyl1mr8hmzn3qdmg77km6sk58hyd0gsqr9jksh0a8p6hj24pk"; }; - buildInputs = bitwig-studio2.buildInputs ++ [ ]; + buildInputs = bitwig-studio2.buildInputs ++ [ xorg.libXtst ]; + + installPhase = '' + ${oldAttrs.installPhase} + + # recover commercial jre + rm -f $out/libexec/lib/jre + cp -r opt/bitwig-studio/lib/jre $out/libexec/lib + ''; })