forked from mirrors/nixpkgs
4398e9e346
* bitwig-studio3: 3.1.3 -> 3.2.1 * bitwig-studio3: 3.1.3 -> 3.2.2 * Update pkgs/applications/audio/bitwig-studio/bitwig-studio3.nix Co-authored-by: Philipp Mildenberger <philipp.mildenberger@student.uibk.ac.at> * Update pkgs/applications/audio/bitwig-studio/bitwig-studio3.nix Co-authored-by: Philipp Mildenberger <philipp.mildenberger@student.uibk.ac.at> Co-authored-by: Philipp Mildenberger <philipp.mildenberger@student.uibk.ac.at>
24 lines
609 B
Nix
24 lines
609 B
Nix
{ fetchurl, bitwig-studio1, pulseaudio, xorg }:
|
|
|
|
bitwig-studio1.overrideAttrs (oldAttrs: rec {
|
|
name = "bitwig-studio-${version}";
|
|
version = "3.2.2";
|
|
|
|
src = fetchurl {
|
|
url = "https://downloads.bitwig.com/stable/${version}/bitwig-studio-${version}.deb";
|
|
sha256 = "10zb78n75nbriyjah0m3syv3rv7qwbmj590z24hss7lifa3rs784";
|
|
};
|
|
|
|
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
|
|
'';
|
|
})
|