From 4f9da3341be7ec45de91ac919578574e928fe297 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Merlin=20G=C3=B6ttlinger?= Date: Fri, 11 Dec 2020 08:42:14 +0100 Subject: [PATCH] inboxer: remove (#105613) Co-authored-by: Sandro --- .../mailreaders/inboxer/default.nix | 87 ------------------- pkgs/top-level/aliases.nix | 1 + pkgs/top-level/all-packages.nix | 2 - 3 files changed, 1 insertion(+), 89 deletions(-) delete mode 100644 pkgs/applications/networking/mailreaders/inboxer/default.nix diff --git a/pkgs/applications/networking/mailreaders/inboxer/default.nix b/pkgs/applications/networking/mailreaders/inboxer/default.nix deleted file mode 100644 index 30ca6d6c7eca..000000000000 --- a/pkgs/applications/networking/mailreaders/inboxer/default.nix +++ /dev/null @@ -1,87 +0,0 @@ -{ stdenv, fetchurl, binutils, patchelf, makeWrapper -, expat, xorg, gdk-pixbuf, glib, gnome2, cairo, atk, freetype, pango -, fontconfig, dbus, nss, nspr, gtk2-x11, alsaLib, cups, libpulseaudio, udev }: - -stdenv.mkDerivation rec { - pname = "inboxer"; - version = "1.2.3"; - - meta = with stdenv.lib; { - description = "Unofficial, free and open-source Google Inbox Desktop App"; - homepage = "https://denysdovhan.com/inboxer"; - maintainers = [ maintainers.mgttlinger ]; - license = licenses.mit; - platforms = [ "x86_64-linux" ]; - }; - - src = fetchurl { - url = "https://github.com/denysdovhan/inboxer/releases/download/v${version}/inboxer_${version}_amd64.deb"; - sha256 = "1ak8sr9sc0fkbrmfynxivbn9csrbyly4fhjlk7kx10aq8hk893a7"; - }; - - unpackPhase = '' - ar p $src data.tar.xz | tar xJ - ''; - nativeBuildInputs = [ patchelf makeWrapper ]; - buildInputs = [ binutils ]; - - preFixup = with stdenv.lib; let - lpath = makeLibraryPath [ - alsaLib - atk - cairo - cups - dbus - nss - nspr - freetype - fontconfig - gtk2-x11 - xorg.libX11 - xorg.libXcursor - xorg.libXdamage - xorg.libXi - xorg.libXext - xorg.libXfixes - xorg.libXrandr - xorg.libXrender - xorg.libXcomposite - xorg.libXtst - xorg.libXScrnSaver - xorg.libxcb - gdk-pixbuf - glib - pango - gnome2.GConf - expat - stdenv.cc.cc.lib - libpulseaudio - udev - ]; - in '' - patchelf \ - --set-rpath "$out/opt/Inboxer:${lpath}" \ - $out/opt/Inboxer/libnode.so - patchelf \ - --set-rpath "$out/opt/Inboxer:${lpath}" \ - $out/opt/Inboxer/libffmpeg.so - - patchelf \ - --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \ - --set-rpath "$out/opt/Inboxer:${lpath}" \ - $out/opt/Inboxer/inboxer - - wrapProgram $out/opt/Inboxer/inboxer --set LD_LIBRARY_PATH "${xorg.libxkbfile}/lib:${lpath}" - ''; - - installPhase = '' - mkdir -p $out/bin - cp -R usr/share opt $out/ - # fix the path in the desktop file - substituteInPlace \ - $out/share/applications/inboxer.desktop \ - --replace /opt/ $out/opt/ - # symlink the binary to bin/ - ln -s $out/opt/Inboxer/inboxer $out/bin/inboxer - ''; -} diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index 9ae697ef5a40..b99ab6eb32dc 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -226,6 +226,7 @@ mapAliases ({ icedtea8_web = adoptopenjdk-icedtea-web; # added 2019-08-21 icedtea_web = adoptopenjdk-icedtea-web; # added 2019-08-21 idea = jetbrains; # added 2017-04-03 + inboxer = throw "inboxer has been removed as it is no longer maintained and no longer works as Google shut down the inbox service this package wrapped."; infiniband-diags = rdma-core; # added 2019-08-09 inotifyTools = inotify-tools; jasper = throw "jasper has been removed: abandoned upstream with many vulnerabilities"; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 4945eaae3827..3381a664bc31 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -4820,8 +4820,6 @@ in inadyn = callPackage ../tools/networking/inadyn { }; - inboxer = callPackage ../applications/networking/mailreaders/inboxer { }; - incron = callPackage ../tools/system/incron { }; industrializer = callPackage ../applications/audio/industrializer { };