2019-12-26 07:04:19 +01:00
|
|
|
{ stdenv, fetchurl, bitwig-studio2, xorg, ... }:
|
2019-10-24 02:20:38 +02:00
|
|
|
|
|
|
|
bitwig-studio2.overrideAttrs (oldAttrs: rec {
|
|
|
|
name = "bitwig-studio-${version}";
|
2020-06-14 12:51:28 +02:00
|
|
|
version = "3.2.1";
|
2019-10-24 02:20:38 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-12-26 11:49:57 +01:00
|
|
|
url =
|
|
|
|
"https://downloads.bitwig.com/stable/${version}/bitwig-studio-${version}.deb";
|
2020-06-14 12:51:28 +02:00
|
|
|
sha256 = "0lcqm4hbkz2d0dmh4ljix0r9cpqpqnjldm3r7f6dg54pcyr9s9c2";
|
2019-10-24 02:20:38 +02:00
|
|
|
};
|
|
|
|
|
2019-12-26 07:04:19 +01:00
|
|
|
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
|
|
|
|
'';
|
2019-10-24 02:20:38 +02:00
|
|
|
|
|
|
|
})
|