2019-12-22 14:26:36 +00:00
|
|
|
{ fetchurl, bitwig-studio1, pulseaudio, xorg }:
|
2019-07-12 09:54:55 +01:00
|
|
|
|
|
|
|
bitwig-studio1.overrideAttrs (oldAttrs: rec {
|
|
|
|
name = "bitwig-studio-${version}";
|
2019-12-22 14:26:36 +00:00
|
|
|
version = "3.1.1";
|
2019-07-12 09:54:55 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://downloads.bitwig.com/stable/${version}/bitwig-studio-${version}.deb";
|
2019-12-22 14:26:36 +00:00
|
|
|
sha256 = "1mgyyl1mr8hmzn3qdmg77km6sk58hyd0gsqr9jksh0a8p6hj24pk";
|
2019-07-12 09:54:55 +01:00
|
|
|
};
|
|
|
|
|
2019-12-22 14:26:36 +00:00
|
|
|
buildInputs = oldAttrs.buildInputs ++ [ xorg.libXtst ];
|
|
|
|
|
2019-07-12 09:54:55 +01:00
|
|
|
runtimeDependencies = [
|
|
|
|
pulseaudio
|
|
|
|
];
|
2019-12-22 14:26:36 +00:00
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
${oldAttrs.installPhase}
|
|
|
|
|
|
|
|
# recover commercial jre
|
|
|
|
rm -f $out/libexec/lib/jre
|
|
|
|
cp -r opt/bitwig-studio/lib/jre $out/libexec/lib
|
|
|
|
'';
|
2019-07-12 09:54:55 +01:00
|
|
|
})
|