Merge pull request #270449 from phunehehe/remove-archiveopteryx

archiveopteryx: remove
This commit is contained in:
éclairevoyant 2024-03-01 11:21:37 +00:00 committed by GitHub
commit 861b56407f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 1 additions and 51 deletions

View File

@ -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;
};
}

View File

@ -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

View File

@ -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 { };