Merge pull request #257800 from Smona/bitwig-3.3.11

bitwig-studio3: 3.3.7 -> 3.3.11
This commit is contained in:
Weijia Wang 2023-10-01 02:48:26 +02:00 committed by GitHub
commit cba1e5d52a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,11 +6,11 @@
stdenv.mkDerivation rec {
pname = "bitwig-studio";
version = "3.3.7";
version = "3.3.11";
src = fetchurl {
url = "https://downloads.bitwig.com/stable/${version}/${pname}-${version}.deb";
sha256 = "13jr45kzv0xjhhqk30qpq793349qyx8jpas4kl6i6bk3xfrd3fbz";
sha256 = "sha256-cF8gVPjM0KUcKOW09uFccp4/lzbUmZcBkVOwr/A/8Yw=";
};
nativeBuildInputs = [ dpkg makeWrapper wrapGAppsHook ];
@ -36,11 +36,8 @@ stdenv.mkDerivation rec {
cp -r opt/bitwig-studio $out/libexec
ln -s $out/libexec/bitwig-studio $out/bin/bitwig-studio
cp -r usr/share $out/share
substitute usr/share/applications/bitwig-studio.desktop \
$out/share/applications/bitwig-studio.desktop \
--replace /usr/bin/bitwig-studio $out/bin/bitwig-studio
runHook postInstall
runHook postInstall
'';
postFixup = ''
@ -60,7 +57,6 @@ stdenv.mkDerivation rec {
--prefix PATH : "${lib.makeBinPath [ ffmpeg ]}" \
--suffix PATH : "${lib.makeBinPath [ xdg-utils ]}"
done
'';
meta = with lib; {