diff options
author | Rick van Schijndel <rol3517@gmail.com> | 2021-08-20 19:35:24 +0200 |
---|---|---|
committer | Matthieu Coudron <teto@users.noreply.github.com> | 2021-08-22 11:23:56 +0200 |
commit | 193c893efdd5aec34bd70ed6b7dc5ea14ce30db6 (patch) | |
tree | a9dba0acaebd62bf8f272b697a96cf740ef563d5 | |
parent | 767b958d503ee816ac47e51a142b84416e03e4cc (diff) |
mail-notification: remove
unmaintained since 2016
-rw-r--r-- | pkgs/desktops/gnome-2/desktop/mail-notification/default.nix | 54 | ||||
-rw-r--r-- | pkgs/top-level/aliases.nix | 1 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
3 files changed, 1 insertions, 56 deletions
diff --git a/pkgs/desktops/gnome-2/desktop/mail-notification/default.nix b/pkgs/desktops/gnome-2/desktop/mail-notification/default.nix deleted file mode 100644 index 1e0064a8fadfb..0000000000000 --- a/pkgs/desktops/gnome-2/desktop/mail-notification/default.nix +++ /dev/null @@ -1,54 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, pkg-config, glib, gnome2, dbus-glib, gmime, gnome-icon-theme, libnotify, libgnome-keyring, openssl, cyrus_sasl, sylpheed, gob2, gettext, intltool, libxml2, hicolor-icon-theme, tango-icon-theme }: - -stdenv.mkDerivation rec { - rev = "9ae8768"; - version = "5.4"; - pname = "mail-notification"; - - src = fetchFromGitHub { - inherit rev; - owner = "epienbroek"; - repo = "mail-notification"; - sha256 = "1slb7gajn30vdaq0hf5rikwdly1npmg1cf83hpjs82xd98knl13d"; - }; - - nativeBuildInputs = [ pkg-config ]; - buildInputs = [ glib dbus-glib gmime libnotify libgnome-keyring openssl cyrus_sasl sylpheed gob2 gettext intltool gnome2.GConf gnome2.libgnomeui dbus-glib gmime libnotify gnome2.scrollkeeper libxml2 gnome-icon-theme hicolor-icon-theme tango-icon-theme ]; - - prePatch = '' - sed -i -e '/jb_rule_set_install_message/d' -e '/jb_rule_add_install_command/d' jbsrc/jb.c - - # currently disable the check for missing sheme until a better solution - # is found; needed, because otherwise the application doesn't even start - # and fails saying it unable to find gconf scheme values. - sed -i -e 's/(schema_missing)/(!schema_missing)/g' src/mn-conf.c - ''; - - patches = [ - ./patches/mail-notification-dont-link-against-bsd-compat.patch - ]; - - patchFlags = [ "-p0" ]; - NIX_CFLAGS_COMPILE = "-Wno-error"; - - preConfigure = "./jb configure prefix=$out"; - - postConfigure = '' - substituteInPlace build/config \ - --replace "omf-dir|string|1|${gnome2.scrollkeeper}/share/omf" "omf-dir|string|1|$out/share/omf" \ - --replace "scrollkeeper-dir|string|1|${gnome2.scrollkeeper}/var/lib/scrollkeeper" "omf-dir|string|1|$out/var/lib/scrollkeeper" \ - ''; - - buildPhase = "./jb build"; - installPhase = "./jb install"; - - enableParallelBuilding = true; - - meta = with lib; { - description = "Tray status icon, which notifies us when new email arrives"; - homepage = "https://www.nongnu.org/mailnotify/"; - license = with licenses; [ gpl3 ]; - platforms = platforms.unix; - maintainers = [ maintainers.eleanor ]; - }; -} diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index 50c2a23bb4b5e..565f760b88561 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -482,6 +482,7 @@ mapAliases ({ lxappearance-gtk3 = throw "lxappearance-gtk3 has been removed. Use lxappearance instead, which now defaults to Gtk3"; # added 2020-06-03 lzma = xz; # moved from top-level 2021-03-14 m3d-linux = m33-linux; # added 2016-08-13 + mail-notification = throw "mail-notification has been removed from nixpkgs, as it's unmaintained and has dependencies on old gnome libraries we want to remove"; # added 2021-08-21 man_db = man-db; # added 2016-05 manpages = man-pages; # added 2015-12-06 marathon = throw "marathon has been removed from nixpkgs, as it's unmaintained"; # added 2020-08-15 diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 30db04579be19..33a51b7f67a04 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -25832,8 +25832,6 @@ with pkgs; magic-wormhole = with python3Packages; toPythonApplication magic-wormhole; - mail-notification = callPackage ../desktops/gnome-2/desktop/mail-notification {}; - magnetophonDSP = lib.recurseIntoAttrs { CharacterCompressor = callPackage ../applications/audio/magnetophonDSP/CharacterCompressor { }; CompBus = callPackage ../applications/audio/magnetophonDSP/CompBus { }; |