diff --git a/pkgs/servers/mail/archiveopteryx/default.nix b/pkgs/servers/mail/archiveopteryx/default.nix deleted file mode 100644 index 99e482323a46..000000000000 --- a/pkgs/servers/mail/archiveopteryx/default.nix +++ /dev/null @@ -1,47 +0,0 @@ -{ lib, stdenv, fetchurl, openssl, perl, zlib, jam }: -stdenv.mkDerivation rec { - version = "3.2.0"; - pname = "archiveopteryx"; - - src = fetchurl { - url = "http://archiveopteryx.org/download/${pname}-${version}.tar.bz2"; - sha256 = "0i0zg8di8nbh96qnyyr156ikwcsq1w9b2291bazm5whb351flmqx"; - }; - - nativeBuildInputs = [ jam ]; - buildInputs = [ openssl perl zlib ]; - - preConfigure = '' - export INSTALLROOT=installroot - sed -i 's:BINDIR = $(PREFIX)/bin:BINDIR = '$out'/bin:' ./Jamsettings - sed -i 's:SBINDIR = $(PREFIX)/sbin:SBINDIR = '$out'/bin:' ./Jamsettings - sed -i 's:LIBDIR = $(PREFIX)/lib:LIBDIR = '$out'/lib:' ./Jamsettings - sed -i 's:MANDIR = $(PREFIX)/man:MANDIR = '$out'/share/man:' ./Jamsettings - sed -i 's:READMEDIR = $(PREFIX):READMEDIR = '$out'/share/doc/archiveopteryx:' ./Jamsettings - ''; - - # fix build on gcc7+ and gcc11+ - env.NIX_CFLAGS_COMPILE = toString ([ - "-std=c++11" # c++17+ has errors - "-Wno-error=builtin-declaration-mismatch" - "-Wno-error=deprecated-copy" - "-Wno-error=implicit-fallthrough" - "-Wno-error=nonnull" - ] ++ lib.optionals (stdenv.cc.isGNU && lib.versionAtLeast stdenv.cc.version "11") [ - "-Wno-error=mismatched-new-delete" - ]); - - buildPhase = ''jam "-j$NIX_BUILD_CORES" ''; - installPhase = '' - jam install - mv installroot/$out $out - ''; - - meta = with lib; { - homepage = "http://archiveopteryx.org/"; - description = "An advanced PostgreSQL-based IMAP/POP server"; - license = licenses.postgresql; - maintainers = [ maintainers.phunehehe ]; - platforms = platforms.linux; - }; -} diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index cce25da849d9..20c3ddbfc53f 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -76,6 +76,7 @@ mapAliases ({ apacheAnt_1_9 = throw "Ant 1.9 has been removed since it's not used in nixpkgs anymore"; # Added 2023-11-12 antimicroX = antimicrox; # Added 2021-10-31 arcanPackages = throw "arcanPackages was removed and its sub-attributes were promoted to top-level"; # Added 2023-11-26 + archiveopteryx = throw "archiveopteryx depended on an unsupported version of OpenSSL and was unmaintained"; # Added 2024-01-03 ardour_6 = throw "ardour_6 has been removed in favor of newer versions"; # Added 2023-10-13 aseprite-unfree = aseprite; # Added 2023-08-26 asls = throw "asls has been removed: abandoned by upstream"; # Added 2023-03-16 diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 326b42c16f21..667e4a9c1a88 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -25943,10 +25943,6 @@ with pkgs; appdaemon = callPackage ../servers/home-assistant/appdaemon.nix { }; - archiveopteryx = callPackage ../servers/mail/archiveopteryx { - openssl = openssl_1_1; - }; - asouldocs = callPackage ../servers/asouldocs { }; atlassian-bamboo = callPackage ../servers/atlassian/bamboo.nix { };