lol

bitwig-studio1: drop

+1 -99
-95
pkgs/applications/audio/bitwig-studio/bitwig-studio1.nix
··· 1 - { stdenv, fetchurl, alsa-lib, bzip2, cairo, dpkg, freetype, gdk-pixbuf 2 - , wrapGAppsHook, gtk2, gtk3, harfbuzz, jdk, lib, xorg 3 - , libbsd, libjack2, libpng, ffmpeg 4 - , libxkbcommon 5 - , makeWrapper, pixman, autoPatchelfHook 6 - , xdg-utils, zenity, zlib }: 7 - 8 - stdenv.mkDerivation rec { 9 - pname = "bitwig-studio"; 10 - version = "1.3.16"; 11 - 12 - src = fetchurl { 13 - url = "https://downloads.bitwig.com/stable/${version}/bitwig-studio-${version}.deb"; 14 - sha256 = "0n0fxh9gnmilwskjcayvjsjfcs3fz9hn00wh7b3gg0cv3qqhich8"; 15 - }; 16 - 17 - nativeBuildInputs = [ dpkg makeWrapper autoPatchelfHook wrapGAppsHook ]; 18 - 19 - unpackCmd = "mkdir root ; dpkg-deb -x $curSrc root"; 20 - 21 - dontBuild = true; 22 - dontWrapGApps = true; # we only want $gappsWrapperArgs here 23 - 24 - buildInputs = with xorg; [ 25 - alsa-lib bzip2.out cairo freetype gdk-pixbuf gtk2 gtk3 harfbuzz libX11 libXau 26 - libXcursor libXdmcp libXext libXfixes libXrender libbsd libjack2 libpng libxcb 27 - libxkbfile pixman xcbutil xcbutilwm zlib 28 - ]; 29 - 30 - installPhase = '' 31 - mkdir -p $out 32 - cp -r opt/bitwig-studio $out/libexec 33 - 34 - # Use NixOS versions of these libs instead of the bundled ones. 35 - ( 36 - cd $out/libexec/lib/bitwig-studio 37 - rm libbz2.so* libxkbfile.so* libXcursor.so* libXau.so* \ 38 - libXdmcp.so* libpng16.so* libxcb*.so* libharfbuzz.so* \ 39 - libcairo.so* libfreetype.so* 40 - ln -s ${bzip2.out}/lib/libbz2.so.1.0.6 libbz2.so.1.0 41 - ) 42 - 43 - # Use our OpenJDK instead of Bitwig’s bundled—and commercial!—one. 44 - rm -rf $out/libexec/lib/jre 45 - ln -s ${jdk.home}/jre $out/libexec/lib/jre 46 - 47 - mkdir -p $out/bin 48 - ln -s $out/libexec/bitwig-studio $out/bin/bitwig-studio 49 - 50 - cp -r usr/share $out/share 51 - substitute usr/share/applications/bitwig-studio.desktop \ 52 - $out/share/applications/bitwig-studio.desktop \ 53 - --replace /usr/bin/bitwig-studio $out/bin/bitwig-studio 54 - ''; 55 - 56 - postFixup = '' 57 - # Bitwig’s `libx11-windowing-system.so` has several problems: 58 - # 59 - # • has some old version of libxkbcommon linked statically (ಠ_ಠ), 60 - # 61 - # • hardcodes path to `/usr/share/X11/xkb`, 62 - # 63 - # • even if we redirected it with libredirect (after adding 64 - # `eaccess()` to libredirect!), their version of libxkbcommon 65 - # is unable to parse our xkeyboardconfig. Been there, done that. 66 - # 67 - # However, it suffices to override theirs with our libxkbcommon 68 - # in LD_PRELOAD. :-) 69 - 70 - find $out -type f -executable \ 71 - -not -name '*.so.*' \ 72 - -not -name '*.so' \ 73 - -not -path '*/resources/*' | \ 74 - while IFS= read -r f ; do 75 - wrapProgram $f \ 76 - --suffix PATH : "${lib.makeBinPath [ ffmpeg zenity ]}" \ 77 - --prefix PATH : "${lib.makeBinPath [ xdg-utils ]}" \ 78 - "''${gappsWrapperArgs[@]}" \ 79 - --set LD_PRELOAD "${libxkbcommon.out}/lib/libxkbcommon.so" || true 80 - done 81 - ''; 82 - 83 - meta = with lib; { 84 - description = "A digital audio workstation"; 85 - longDescription = '' 86 - Bitwig Studio is a multi-platform music-creation system for 87 - production, performance and DJing, with a focus on flexible 88 - editing tools and a super-fast workflow. 89 - ''; 90 - homepage = "https://www.bitwig.com/"; 91 - license = licenses.unfree; 92 - platforms = [ "x86_64-linux" ]; 93 - maintainers = with maintainers; [ michalrus mrVanDalo ]; 94 - }; 95 - }
+1
pkgs/top-level/aliases.nix
··· 87 87 bazel_3 = throw "bazel 3 is past end of life as it is not an lts version"; # Added 2023-02-02 88 88 bedup = throw "bedup was removed because it was broken and abandoned upstream"; # added 2023-02-04 89 89 bird2 = bird; # Added 2022-02-21 90 + bitwig-studio1 = throw "bitwig-studio1 has been removed, you can upgrade to 'bitwig-studio'"; # Added 2023-01-03 90 91 bitwig-studio2 = throw "bitwig-studio2 has been removed, you can upgrade to 'bitwig-studio'"; # Added 2023-01-03 91 92 ddclient = throw "ddclient has been removed on the request of the upstream maintainer because it is unmaintained and has bugs. Please switch to a different software like `inadyn` or `knsupdate`."; # Added 2023-07-04 92 93 bluezFull = throw "'bluezFull' has been renamed to/replaced by 'bluez'"; # Converted to throw 2023-09-10
-4
pkgs/top-level/all-packages.nix
··· 30853 30853 bitscope = recurseIntoAttrs 30854 30854 (callPackage ../applications/science/electronics/bitscope/packages.nix { }); 30855 30855 30856 - bitwig-studio1 = callPackage ../applications/audio/bitwig-studio/bitwig-studio1.nix { 30857 - inherit (gnome) zenity; 30858 - libxkbcommon = libxkbcommon_7; 30859 - }; 30860 30856 bitwig-studio3 = callPackage ../applications/audio/bitwig-studio/bitwig-studio3.nix { }; 30861 30857 bitwig-studio4 = callPackage ../applications/audio/bitwig-studio/bitwig-studio4.nix { 30862 30858 libjpeg = libjpeg8;