lol

Merge pull request #255784 from delroth/gitter-rm

gitter: remove (unmaintained upstream, probably useless now)

authored by

Fabián Heredia Montiel and committed by
GitHub
91b20bb7 d1906e0f

+1 -104
-102
pkgs/applications/networking/instant-messengers/gitter/default.nix
··· 1 - { lib, stdenv, alsa-lib, atk, at-spi2-core, cairo, cups, dbus, dpkg, expat, fetchurl 2 - , fontconfig, freetype, gdk-pixbuf, glib, gtk3, libdrm, libX11 3 - , libXScrnSaver, libXcomposite, libXcursor, libXdamage, libXext, libXfixes 4 - , libXi, libXrandr, libXrender, libXtst, libappindicator-gtk3, libcxx 5 - , libnotify, libpulseaudio, libxcb, makeDesktopItem, makeWrapper, mesa, nspr, nss 6 - , pango, systemd }: 7 - 8 - let gitterDirectorySuffix = "opt/gitter"; 9 - libPath = lib.makeLibraryPath [ 10 - alsa-lib 11 - atk 12 - at-spi2-core 13 - cairo 14 - cups 15 - dbus 16 - expat 17 - fontconfig 18 - freetype 19 - gdk-pixbuf 20 - glib 21 - gtk3 22 - libX11 23 - libXScrnSaver 24 - libXcomposite 25 - libXcursor 26 - libXdamage 27 - libXext 28 - libXfixes 29 - libXi 30 - libXrandr 31 - libXrender 32 - libXtst 33 - libappindicator-gtk3 34 - libcxx 35 - libdrm 36 - libnotify 37 - libpulseaudio 38 - libxcb 39 - mesa 40 - nspr 41 - nss 42 - pango 43 - stdenv.cc.cc 44 - systemd 45 - ]; 46 - doELFPatch = target: '' 47 - patchelf --set-interpreter ${stdenv.cc.bintools.dynamicLinker} \ 48 - --set-rpath "$out/${gitterDirectorySuffix}/lib:${libPath}" \ 49 - $out/${gitterDirectorySuffix}/${target} 50 - ''; 51 - in stdenv.mkDerivation rec { 52 - pname = "gitter"; 53 - version = "5.0.1"; 54 - 55 - src = fetchurl { 56 - url = "https://update.gitter.im/linux64/${pname}_${version}_amd64.deb"; 57 - sha256 = "1ps9akylqrril4902r8mi0mprm0hb5wra51ry6c1rb5xz5nrzgh1"; 58 - }; 59 - 60 - nativeBuildInputs = [ makeWrapper dpkg ]; 61 - 62 - unpackPhase = "dpkg -x $src ."; 63 - 64 - installPhase = '' 65 - mkdir -p $out/{bin,opt/gitter,share/pixmaps} 66 - mv ./opt/Gitter/linux64/* $out/opt/gitter 67 - 68 - ${doELFPatch "Gitter"} 69 - ${doELFPatch "nacl_helper"} 70 - ${doELFPatch "minidump_stackwalk"} 71 - ${doELFPatch "nwjc"} 72 - ${doELFPatch "chromedriver"} 73 - ${doELFPatch "payload"} 74 - 75 - patchelf --set-rpath "$out/${gitterDirectorySuffix}/lib:${libPath}" \ 76 - $out/${gitterDirectorySuffix}/lib/libnw.so 77 - 78 - wrapProgram $out/${gitterDirectorySuffix}/Gitter --prefix LD_LIBRARY_PATH : ${libPath} 79 - 80 - ln -s $out/${gitterDirectorySuffix}/Gitter $out/bin/ 81 - ln -s $out/${gitterDirectorySuffix}/logo.png $out/share/pixmaps/gitter.png 82 - ln -s "${desktopItem}/share/applications" $out/share/ 83 - ''; 84 - 85 - desktopItem = makeDesktopItem { 86 - name = pname; 87 - exec = "Gitter"; 88 - icon = pname; 89 - desktopName = "Gitter"; 90 - genericName = meta.description; 91 - categories = [ "Network" "InstantMessaging" ]; 92 - }; 93 - 94 - meta = with lib; { 95 - description = "Where developers come to talk"; 96 - downloadPage = "https://gitter.im/apps"; 97 - sourceProvenance = with sourceTypes; [ binaryNativeCode ]; 98 - license = licenses.mit; 99 - maintainers = [ maintainers.imalison ]; 100 - platforms = [ "x86_64-linux" ]; 101 - }; 102 - }
+1
pkgs/top-level/aliases.nix
··· 617 617 618 618 gitin = throw "gitin has been remove because it was unmaintained and depended on an insecure version of libgit2"; # Added 2021-12-07 619 619 gitinspector = throw "gitinspector has been removed because it doesn't work with python3"; # Added 2022-01-12 620 + gitter = throw "gitter has been removed since the client has been abandoned by upstream with the backend migration to Matrix"; # Added 2023-09-18 620 621 gksu = throw "gksu has been removed"; # Added 2022-01-16 621 622 glib_networking = throw "'glib_networking' has been renamed to/replaced by 'glib-networking'"; # Converted to throw 2022-02-22 622 623 glimpse = throw "glimpse was removed, as the project was discontinued. You can use gimp instead."; # Added 2022-07-11
-2
pkgs/top-level/all-packages.nix
··· 3831 3831 3832 3832 gistyc = with python3Packages; toPythonApplication gistyc; 3833 3833 3834 - gitter = callPackage ../applications/networking/instant-messengers/gitter { }; 3835 - 3836 3834 gjs = callPackage ../development/libraries/gjs { }; 3837 3835 3838 3836 gjo = callPackage ../tools/text/gjo { };