dbmail: init at 3.5.5

This commit is contained in:
Maevi
2026-02-12 10:09:23 +01:00
parent ef153095f5
commit 3bb95d4b0f
+61
View File
@@ -0,0 +1,61 @@
{
lib,
stdenv,
fetchFromGitHub,
nix-update-script,
versionCheckHook,
pkg-config,
curlMinimal,
glib,
gmime3,
libevent,
libmhash,
libxcrypt,
libzdb,
openssl,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "dbmail";
version = "3.5.5";
src = fetchFromGitHub {
owner = "dbmail";
repo = "dbmail";
tag = "v${finalAttrs.version}";
hash = "sha256-uoK+sj/CQ2CcliQ+vtE9Q3BWVbzpQ5MP8xHVIxe6w2o=";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [
curlMinimal
glib
gmime3
libmhash
libevent
libxcrypt
libzdb
openssl
];
strictDeps = true;
__structuredAttrs = true;
enableParallelBuilding = true;
configureFlags = [ "--with-zdb=${libzdb}" ];
nativeInstallCheckInputs = [ versionCheckHook ];
doInstallCheck = true;
passthru.updateScript = nix-update-script { };
meta = {
description = "Highly available Message Delivery Agent using SQL storage";
homepage = "https://dbmail.org";
downloadPage = "https://github.com/dbmail/dbmail";
license = lib.licenses.gpl2Plus;
platforms = lib.platforms.linux;
mainProgram = "dbmail-imapd";
maintainers = with lib.maintainers; [ maevii ];
};
})