diff --git a/pkgs/applications/networking/instant-messengers/gitter/default.nix b/pkgs/applications/networking/instant-messengers/gitter/default.nix deleted file mode 100644 index 04d8909f3d89..000000000000 --- a/pkgs/applications/networking/instant-messengers/gitter/default.nix +++ /dev/null @@ -1,102 +0,0 @@ -{ lib, stdenv, alsa-lib, atk, at-spi2-core, cairo, cups, dbus, dpkg, expat, fetchurl -, fontconfig, freetype, gdk-pixbuf, glib, gtk3, libdrm, libX11 -, libXScrnSaver, libXcomposite, libXcursor, libXdamage, libXext, libXfixes -, libXi, libXrandr, libXrender, libXtst, libappindicator-gtk3, libcxx -, libnotify, libpulseaudio, libxcb, makeDesktopItem, makeWrapper, mesa, nspr, nss -, pango, systemd }: - -let gitterDirectorySuffix = "opt/gitter"; - libPath = lib.makeLibraryPath [ - alsa-lib - atk - at-spi2-core - cairo - cups - dbus - expat - fontconfig - freetype - gdk-pixbuf - glib - gtk3 - libX11 - libXScrnSaver - libXcomposite - libXcursor - libXdamage - libXext - libXfixes - libXi - libXrandr - libXrender - libXtst - libappindicator-gtk3 - libcxx - libdrm - libnotify - libpulseaudio - libxcb - mesa - nspr - nss - pango - stdenv.cc.cc - systemd - ]; - doELFPatch = target: '' - patchelf --set-interpreter ${stdenv.cc.bintools.dynamicLinker} \ - --set-rpath "$out/${gitterDirectorySuffix}/lib:${libPath}" \ - $out/${gitterDirectorySuffix}/${target} - ''; -in stdenv.mkDerivation rec { - pname = "gitter"; - version = "5.0.1"; - - src = fetchurl { - url = "https://update.gitter.im/linux64/${pname}_${version}_amd64.deb"; - sha256 = "1ps9akylqrril4902r8mi0mprm0hb5wra51ry6c1rb5xz5nrzgh1"; - }; - - nativeBuildInputs = [ makeWrapper dpkg ]; - - unpackPhase = "dpkg -x $src ."; - - installPhase = '' - mkdir -p $out/{bin,opt/gitter,share/pixmaps} - mv ./opt/Gitter/linux64/* $out/opt/gitter - - ${doELFPatch "Gitter"} - ${doELFPatch "nacl_helper"} - ${doELFPatch "minidump_stackwalk"} - ${doELFPatch "nwjc"} - ${doELFPatch "chromedriver"} - ${doELFPatch "payload"} - - patchelf --set-rpath "$out/${gitterDirectorySuffix}/lib:${libPath}" \ - $out/${gitterDirectorySuffix}/lib/libnw.so - - wrapProgram $out/${gitterDirectorySuffix}/Gitter --prefix LD_LIBRARY_PATH : ${libPath} - - ln -s $out/${gitterDirectorySuffix}/Gitter $out/bin/ - ln -s $out/${gitterDirectorySuffix}/logo.png $out/share/pixmaps/gitter.png - ln -s "${desktopItem}/share/applications" $out/share/ - ''; - - desktopItem = makeDesktopItem { - name = pname; - exec = "Gitter"; - icon = pname; - desktopName = "Gitter"; - genericName = meta.description; - categories = [ "Network" "InstantMessaging" ]; - }; - - meta = with lib; { - description = "Where developers come to talk"; - downloadPage = "https://gitter.im/apps"; - sourceProvenance = with sourceTypes; [ binaryNativeCode ]; - license = licenses.mit; - maintainers = [ maintainers.imalison ]; - platforms = [ "x86_64-linux" ]; - }; -} diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index 363e0969e10e..1e787043d9d2 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -617,6 +617,7 @@ mapAliases ({ gitin = throw "gitin has been remove because it was unmaintained and depended on an insecure version of libgit2"; # Added 2021-12-07 gitinspector = throw "gitinspector has been removed because it doesn't work with python3"; # Added 2022-01-12 + gitter = throw "gitter has been removed since the client has been abandoned by upstream with the backend migration to Matrix"; # Added 2023-09-18 gksu = throw "gksu has been removed"; # Added 2022-01-16 glib_networking = throw "'glib_networking' has been renamed to/replaced by 'glib-networking'"; # Converted to throw 2022-02-22 glimpse = throw "glimpse was removed, as the project was discontinued. You can use gimp instead."; # Added 2022-07-11 diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 5e1b3462ee4a..706c024e6158 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3831,8 +3831,6 @@ with pkgs; gistyc = with python3Packages; toPythonApplication gistyc; - gitter = callPackage ../applications/networking/instant-messengers/gitter { }; - gjs = callPackage ../development/libraries/gjs { }; gjo = callPackage ../tools/text/gjo { };