0eaa97ffad
GitOrigin-RevId: c59ea8b8a0e7f927e7291c14ea6cd1bd3a16ff38
23 lines
609 B
Nix
23 lines
609 B
Nix
{ fetchurl, bitwig-studio1, pulseaudio, xorg }:
|
|
|
|
bitwig-studio1.overrideAttrs (oldAttrs: rec {
|
|
name = "bitwig-studio-${version}";
|
|
version = "3.2.6";
|
|
|
|
src = fetchurl {
|
|
url = "https://downloads.bitwig.com/stable/${version}/bitwig-studio-${version}.deb";
|
|
sha256 = "00hrbgnjns3s8lbjbabwwqvbwz4dlrg33cs3d1qlpzgi3y72h3nn";
|
|
};
|
|
|
|
buildInputs = oldAttrs.buildInputs ++ [ xorg.libXtst ];
|
|
|
|
runtimeDependencies = [ pulseaudio ];
|
|
|
|
installPhase = ''
|
|
${oldAttrs.installPhase}
|
|
|
|
# recover commercial jre
|
|
rm -f $out/libexec/lib/jre
|
|
cp -r opt/bitwig-studio/lib/jre $out/libexec/lib
|
|
'';
|
|
})
|