nixos-config/pkgs/bitwig-studio/bitwig-studio3.nix
Ingolf Wagner b519b0a299
reformat
2019-12-26 23:49:57 +13:00

23 lines
582 B
Nix

{ stdenv, fetchurl, bitwig-studio2, xorg, ... }:
bitwig-studio2.overrideAttrs (oldAttrs: rec {
name = "bitwig-studio-${version}";
version = "3.1.1";
src = fetchurl {
url =
"https://downloads.bitwig.com/stable/${version}/bitwig-studio-${version}.deb";
sha256 = "1mgyyl1mr8hmzn3qdmg77km6sk58hyd0gsqr9jksh0a8p6hj24pk";
};
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
'';
})