3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/audio/bitwig-studio/bitwig-studio3.nix

24 lines
628 B
Nix
Raw Normal View History

2020-09-30 20:26:27 +01:00
{ fetchurl, bitwig-studio1, pulseaudio, libjack2, xorg }:
2019-07-12 09:54:55 +01:00
bitwig-studio1.overrideAttrs (oldAttrs: rec {
name = "bitwig-studio-${version}";
2020-09-23 07:53:44 +01:00
version = "3.2.8";
2019-07-12 09:54:55 +01:00
src = fetchurl {
url = "https://downloads.bitwig.com/stable/${version}/bitwig-studio-${version}.deb";
2020-09-23 07:53:44 +01:00
sha256 = "18ldgmnv7bigb4mch888kjpf4abalpiwmlhwd7rjb9qf6p72fhpj";
2019-07-12 09:54:55 +01:00
};
2019-12-22 14:26:36 +00:00
buildInputs = oldAttrs.buildInputs ++ [ xorg.libXtst ];
2020-09-30 20:26:27 +01:00
runtimeDependencies = [ pulseaudio libjack2 ];
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
})