2020-11-24 20:58:05 +00:00
|
|
|
{ fetchurl, bitwig-studio1, pulseaudio, libjack2, xorg }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
bitwig-studio1.overrideAttrs (oldAttrs: rec {
|
|
|
|
name = "bitwig-studio-${version}";
|
2020-11-21 19:51:51 +00:00
|
|
|
version = "3.2.8";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://downloads.bitwig.com/stable/${version}/bitwig-studio-${version}.deb";
|
2020-11-21 19:51:51 +00:00
|
|
|
sha256 = "18ldgmnv7bigb4mch888kjpf4abalpiwmlhwd7rjb9qf6p72fhpj";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = oldAttrs.buildInputs ++ [ xorg.libXtst ];
|
|
|
|
|
2020-11-24 20:58:05 +00:00
|
|
|
runtimeDependencies = [ pulseaudio libjack2 ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
${oldAttrs.installPhase}
|
|
|
|
|
|
|
|
# recover commercial jre
|
|
|
|
rm -f $out/libexec/lib/jre
|
|
|
|
cp -r opt/bitwig-studio/lib/jre $out/libexec/lib
|
|
|
|
'';
|
|
|
|
})
|