yandex-browser{,-beta,-corporate}: drop (#399492)

authored by Thomas Gerbet and committed by GitHub db2659a7 39c42a6f

+3 -193
-189
pkgs/by-name/ya/yandex-browser/package.nix
··· 1 - { 2 - stdenv, 3 - lib, 4 - fetchurl, 5 - autoPatchelfHook, 6 - wrapGAppsHook3, 7 - flac, 8 - gnome2, 9 - harfbuzzFull, 10 - nss, 11 - snappy, 12 - xdg-utils, 13 - xorg, 14 - alsa-lib, 15 - atk, 16 - cairo, 17 - cups, 18 - curl, 19 - dbus, 20 - expat, 21 - fontconfig, 22 - freetype, 23 - gdk-pixbuf, 24 - glib, 25 - gtk3, 26 - libX11, 27 - libxcb, 28 - libXScrnSaver, 29 - libXcomposite, 30 - libXcursor, 31 - libXdamage, 32 - libXext, 33 - libXfixes, 34 - libXi, 35 - libXrandr, 36 - libXrender, 37 - libXtst, 38 - libdrm, 39 - libnotify, 40 - libopus, 41 - libpulseaudio, 42 - libuuid, 43 - libxshmfence, 44 - libgbm, 45 - nspr, 46 - pango, 47 - systemd, 48 - at-spi2-atk, 49 - at-spi2-core, 50 - libsForQt5, 51 - qt6, 52 - vivaldi-ffmpeg-codecs, 53 - edition ? "stable", 54 - }: 55 - 56 - let 57 - version = 58 - { 59 - corporate = "24.7.1.1195-1"; 60 - beta = "24.7.1.1124-1"; 61 - stable = "24.7.1.1120-1"; 62 - } 63 - .${edition}; 64 - 65 - hash = 66 - { 67 - corporate = "sha256-HPEUeIZl9nRhMzrMv4MzIOnbF8mJ789vCtTWf9TcCH4="; 68 - beta = "sha256-vcX/9MWqeUd/YlczHivcL6+TignE8Nk6rO5DaCjf2SQ="; 69 - stable = "sha256-wrYPQ8WrttF/tlafA0+e3eDZMq9SFmLk5NOIeHQr14U="; 70 - } 71 - .${edition}; 72 - 73 - app = 74 - { 75 - corporate = ""; 76 - beta = "-beta"; 77 - stable = ""; 78 - } 79 - .${edition}; 80 - 81 - in 82 - stdenv.mkDerivation rec { 83 - pname = "yandex-browser-${edition}"; 84 - inherit version; 85 - 86 - src = fetchurl { 87 - url = "http://repo.yandex.ru/yandex-browser/deb/pool/main/y/${pname}/${pname}_${version}_amd64.deb"; 88 - inherit hash; 89 - }; 90 - 91 - nativeBuildInputs = [ 92 - autoPatchelfHook 93 - qt6.wrapQtAppsHook 94 - wrapGAppsHook3 95 - ]; 96 - 97 - buildInputs = [ 98 - flac 99 - harfbuzzFull 100 - nss 101 - snappy 102 - xdg-utils 103 - xorg.libxkbfile 104 - alsa-lib 105 - at-spi2-atk 106 - at-spi2-core 107 - atk 108 - cairo 109 - cups 110 - curl 111 - dbus 112 - expat 113 - fontconfig.lib 114 - freetype 115 - gdk-pixbuf 116 - glib 117 - gnome2.GConf 118 - gtk3 119 - libX11 120 - libXScrnSaver 121 - libXcomposite 122 - libXcursor 123 - libXdamage 124 - libXext 125 - libXfixes 126 - libXi 127 - libXrandr 128 - libXrender 129 - libXtst 130 - libdrm 131 - libnotify 132 - libopus 133 - libuuid 134 - libxcb 135 - libxshmfence 136 - libgbm 137 - nspr 138 - nss 139 - pango 140 - (lib.getLib stdenv.cc.cc) 141 - libsForQt5.libqtpas 142 - qt6.qtbase 143 - ]; 144 - 145 - unpackPhase = '' 146 - mkdir $TMP/ya/ $out/bin/ -p 147 - ar vx $src 148 - tar --no-overwrite-dir -xvf data.tar.xz -C $TMP/ya/ 149 - ''; 150 - 151 - installPhase = '' 152 - cp $TMP/ya/{usr/share,opt} $out/ -R 153 - cp $out/share/applications/yandex-browser${app}.desktop $out/share/applications/${pname}.desktop || true 154 - rm -f $out/share/applications/yandex-browser.desktop 155 - substituteInPlace $out/share/applications/${pname}.desktop --replace /usr/ $out/ 156 - substituteInPlace $out/share/menu/yandex-browser${app}.menu --replace /opt/ $out/opt/ 157 - substituteInPlace $out/share/gnome-control-center/default-apps/yandex-browser${app}.xml --replace /opt/ $out/opt/ 158 - ln -sf ${vivaldi-ffmpeg-codecs}/lib/libffmpeg.so $out/opt/yandex/browser${app}/libffmpeg.so 159 - ln -sf $out/opt/yandex/browser${app}/yandex-browser${app} $out/bin/${pname} 160 - ''; 161 - 162 - runtimeDependencies = 163 - map lib.getLib [ 164 - libpulseaudio 165 - curl 166 - systemd 167 - vivaldi-ffmpeg-codecs 168 - ] 169 - ++ buildInputs; 170 - 171 - meta = with lib; { 172 - description = "Yandex Web Browser"; 173 - homepage = "https://browser.yandex.ru/"; 174 - license = licenses.unfree; 175 - sourceProvenance = with sourceTypes; [ binaryNativeCode ]; 176 - maintainers = with maintainers; [ 177 - dan4ik605743 178 - ionutnechita 179 - ]; 180 - platforms = [ "x86_64-linux" ]; 181 - 182 - knownVulnerabilities = [ 183 - '' 184 - Trusts a Russian government issued CA certificate for some websites. 185 - See https://habr.com/en/company/yandex/blog/655185/ (Russian) for details. 186 - '' 187 - ]; 188 - }; 189 - }
+3
pkgs/top-level/aliases.nix
··· 1901 1901 yacc = throw "'yacc' has been renamed to/replaced by 'bison'"; # Converted to throw 2024-10-17 1902 1902 yesplaymusic = throw "YesPlayMusic has been removed as it was broken, unmaintained, and used deprecated Node and Electron versions"; # Added 2024-12-13 1903 1903 yafaray-core = libyafaray; # Added 2022-09-23 1904 + yandex-browser = throw "'yandex-browser' has been removed, as it was broken and unmaintained"; # Added 2025-04-17 1905 + yandex-browser-beta = throw "'yandex-browser-beta' has been removed, as it was broken and unmaintained"; # Added 2025-04-17 1906 + yandex-browser-corporate = throw "'yandex-browser-corporate' has been removed, as it was broken and unmaintained"; # Added 2025-04-17 1904 1907 youtrack_2022_3 = throw "'youtrack_2022_3' has been removed as it was deprecated. Please update to the 'youtrack' package."; # Added 2024-10-17 1905 1908 yrd = throw "'yrd' has been removed, as it was broken and unmaintained"; # added 2024-05-27 1906 1909
-4
pkgs/top-level/all-packages.nix
··· 19288 19288 19289 19289 yamale = with python3Packages; toPythonApplication yamale; 19290 19290 19291 - yandex-browser-beta = yandex-browser.override { edition = "beta"; }; 19292 - 19293 - yandex-browser-corporate = yandex-browser.override { edition = "corporate"; }; 19294 - 19295 19291 zap-chip-gui = zap-chip.override { withGui = true; }; 19296 19292 19297 19293 myEnvFun = callPackage ../misc/my-env {