2019-12-22 15:26:36 +01:00
|
|
|
{ fetchurl, bitwig-studio1, pulseaudio, xorg }:
|
2019-07-12 10:54:55 +02:00
|
|
|
|
|
|
|
bitwig-studio1.overrideAttrs (oldAttrs: rec {
|
|
|
|
name = "bitwig-studio-${version}";
|
2020-01-22 06:13:14 +01:00
|
|
|
version = "3.1.2";
|
2019-07-12 10:54:55 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://downloads.bitwig.com/stable/${version}/bitwig-studio-${version}.deb";
|
2020-01-22 06:13:14 +01:00
|
|
|
sha256 = "07djn52lz43ls6fa4k1ncz3m1nc5zv2j93hwyavnr66r0hlqy7l9";
|
2019-07-12 10:54:55 +02:00
|
|
|
};
|
|
|
|
|
2019-12-22 15:26:36 +01:00
|
|
|
buildInputs = oldAttrs.buildInputs ++ [ xorg.libXtst ];
|
|
|
|
|
2020-01-22 06:13:14 +01:00
|
|
|
runtimeDependencies = [ pulseaudio ];
|
2019-12-22 15:26:36 +01: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 10:54:55 +02:00
|
|
|
})
|