skypeforlinux: remove (#404374)

authored by Arne Keller and committed by GitHub b08e86e1 c0604448

+1 -194
-194
pkgs/by-name/sk/skypeforlinux/package.nix
··· 1 - { 2 - lib, 3 - stdenv, 4 - fetchurl, 5 - squashfsTools, 6 - writeScript, 7 - alsa-lib, 8 - atk, 9 - cairo, 10 - cups, 11 - curl, 12 - dbus, 13 - expat, 14 - fontconfig, 15 - freetype, 16 - gdk-pixbuf, 17 - glib, 18 - glibc, 19 - gnome-keyring, 20 - gtk3, 21 - libappindicator-gtk3, 22 - libnotify, 23 - libpulseaudio, 24 - libsecret, 25 - libv4l, 26 - nspr, 27 - nss, 28 - pango, 29 - systemd, 30 - wrapGAppsHook3, 31 - xorg, 32 - at-spi2-atk, 33 - libuuid, 34 - at-spi2-core, 35 - libdrm, 36 - libgbm, 37 - libxkbcommon, 38 - libxshmfence, 39 - }: 40 - 41 - let 42 - 43 - # Please keep the version x.y.0.z and do not update to x.y.76.z because the 44 - # source of the latter disappears much faster. 45 - version = "8.138.0.213"; 46 - revision = "392"; 47 - 48 - rpath = 49 - lib.makeLibraryPath [ 50 - alsa-lib 51 - atk 52 - at-spi2-atk 53 - at-spi2-core 54 - cairo 55 - cups 56 - curl 57 - dbus 58 - expat 59 - fontconfig 60 - freetype 61 - glib 62 - glibc 63 - libsecret 64 - libuuid 65 - 66 - gdk-pixbuf 67 - gtk3 68 - libappindicator-gtk3 69 - 70 - gnome-keyring 71 - 72 - libnotify 73 - libpulseaudio 74 - nspr 75 - nss 76 - pango 77 - stdenv.cc.cc 78 - systemd 79 - 80 - libv4l 81 - libdrm 82 - libgbm 83 - libxkbcommon 84 - libxshmfence 85 - xorg.libxkbfile 86 - xorg.libX11 87 - xorg.libXcomposite 88 - xorg.libXcursor 89 - xorg.libXdamage 90 - xorg.libXext 91 - xorg.libXfixes 92 - xorg.libXi 93 - xorg.libXrandr 94 - xorg.libXrender 95 - xorg.libXtst 96 - xorg.libXScrnSaver 97 - xorg.libxcb 98 - ] 99 - + ":${lib.getLib stdenv.cc.cc}/lib64"; 100 - 101 - src = 102 - if stdenv.hostPlatform.system == "x86_64-linux" then 103 - fetchurl { 104 - name = "skypeforlinux-${version}-${revision}.snap"; 105 - url = "https://api.snapcraft.io/api/v1/snaps/download/QRDEfjn4WJYnm0FzDKwqqRZZI77awQEV_${revision}.snap"; 106 - hash = "sha512-ZLqmJMkIVlBvflHAXCStEt1T3eZgw/KMBlR754sR7mljIsr0liddGxFu2fjSijEBkx1mzoB+4ErOB/Il0KCXEA=="; 107 - } 108 - else 109 - throw "Skype for linux is not supported on ${stdenv.hostPlatform.system}"; 110 - 111 - in 112 - stdenv.mkDerivation { 113 - pname = "skypeforlinux"; 114 - inherit version revision; 115 - 116 - system = "x86_64-linux"; 117 - 118 - inherit src; 119 - 120 - nativeBuildInputs = [ 121 - wrapGAppsHook3 122 - glib # For setup hook populating GSETTINGS_SCHEMA_PATH 123 - ]; 124 - 125 - buildInputs = [ squashfsTools ]; 126 - 127 - unpackPhase = '' 128 - runHook preUnpack 129 - 130 - unsquashfs "$src" '/meta/gui/*.desktop' \ 131 - /usr/share/{doc/skypeforlinux,'icons/hicolor/*/apps/skypeforlinux.png',kservices5,pixmaps,skypeforlinux} 132 - sourceRoot=squashfs-root 133 - 134 - runHook postUnpack 135 - ''; 136 - 137 - installPhase = '' 138 - runHook preInstall 139 - 140 - mkdir -p "$out/bin" 141 - mv meta/gui usr/share/applications 142 - mv usr/share "$out" 143 - ln -s "$out/share/skypeforlinux/skypeforlinux" "$out/bin" 144 - 145 - runHook postInstall 146 - ''; 147 - 148 - postFixup = '' 149 - for file in $(find $out -type f \( -perm /0111 -o -name \*.so\* -or -name \*.node\* \) ); do 150 - patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" "$file" || true 151 - patchelf --set-rpath ${rpath}:$out/share/skypeforlinux $file || true 152 - done 153 - 154 - # Fix the desktop link 155 - substituteInPlace "$out/share/applications/"*.desktop \ 156 - --replace-fail 'Exec=skype ' 'Exec=skypeforlinux ' \ 157 - --replace-fail 'Icon=''${SNAP}/meta/gui/skypeforlinux.png' 'Icon=skypeforlinux' 158 - substituteInPlace "$out/share/kservices5/ServiceMenus/skypeforlinux.desktop" \ 159 - --replace-fail 'Exec=/usr/bin/skypeforlinux ' 'Exec=skypeforlinux ' 160 - ''; 161 - 162 - passthru.updateScript = writeScript "update-skypeforlinux" '' 163 - #!/usr/bin/env nix-shell 164 - #!nix-shell -i bash -p common-updater-scripts curl jq 165 - 166 - set -eu -o pipefail 167 - 168 - data=$(curl -H 'X-Ubuntu-Series: 16' \ 169 - 'https://api.snapcraft.io/api/v1/snaps/details/skype?channel=stable&fields=download_sha512,revision,version') 170 - 171 - version=$(jq -r .version <<<"$data") 172 - 173 - if [[ "x$UPDATE_NIX_OLD_VERSION" != "x$version" ]]; then 174 - 175 - revision=$(jq -r .revision <<<"$data") 176 - hash=$(nix hash to-sri "sha512:$(jq -r .download_sha512 <<<"$data")") 177 - 178 - update-source-version "$UPDATE_NIX_ATTR_PATH" "$version" "$hash" 179 - update-source-version --ignore-same-hash --version-key=revision "$UPDATE_NIX_ATTR_PATH" "$revision" "$hash" 180 - 181 - fi 182 - ''; 183 - 184 - meta = { 185 - description = "Linux client for Skype"; 186 - homepage = "https://www.skype.com"; 187 - changelog = "https://support.microsoft.com/en-us/skype/what-s-new-in-skype-for-windows-mac-linux-and-web-d32f674c-abb3-40a5-a0b7-ee269ca60831"; 188 - sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ]; 189 - license = lib.licenses.unfree; 190 - maintainers = [ lib.maintainers.mjoerg ]; 191 - platforms = [ "x86_64-linux" ]; 192 - mainProgram = "skypeforlinux"; 193 - }; 194 - }
···
+1
pkgs/top-level/aliases.nix
··· 1659 shout = nodePackages.shout; # Added unknown; moved 2024-10-19 1660 sky = throw "'sky' has been removed because its upstream website disappeared"; # Added 2024-07-21 1661 SkypeExport = skypeexport; # Added 2024-06-12 1662 slack-dark = throw "'slack-dark' has been renamed to/replaced by 'slack'"; # Converted to throw 2024-10-17 1663 slimerjs = throw "slimerjs does not work with any version of Firefox newer than 59; upstream ended the project in 2021. <https://slimerjs.org/faq.html#end-of-development>"; # added 2025-01-06 1664 slurm-llnl = slurm; # renamed July 2017
··· 1659 shout = nodePackages.shout; # Added unknown; moved 2024-10-19 1660 sky = throw "'sky' has been removed because its upstream website disappeared"; # Added 2024-07-21 1661 SkypeExport = skypeexport; # Added 2024-06-12 1662 + skypeforlinux = throw "Skype has been shut down in May 2025"; # Added 2025-05-05 1663 slack-dark = throw "'slack-dark' has been renamed to/replaced by 'slack'"; # Converted to throw 2024-10-17 1664 slimerjs = throw "slimerjs does not work with any version of Firefox newer than 59; upstream ended the project in 2021. <https://slimerjs.org/faq.html#end-of-development>"; # added 2025-01-06 1665 slurm-llnl = slurm; # renamed July 2017