stalwart-mail-enterprise: init at 0.11.7 (#402286)

This commit is contained in:
Jonas Heinrich
2025-05-13 09:46:46 +02:00
committed by GitHub
2 changed files with 29 additions and 11 deletions
+25 -11
View File
@@ -15,10 +15,11 @@
rocksdb,
callPackage,
withFoundationdb ? false,
stalwartEnterprise ? false,
}:
rustPlatform.buildRustPackage rec {
pname = "stalwart-mail";
pname = "stalwart-mail" + (lib.optionalString stalwartEnterprise "-enterprise");
version = "0.11.8";
src = fetchFromGitHub {
@@ -46,15 +47,18 @@ rustPlatform.buildRustPackage rec {
# Issue: https://github.com/stalwartlabs/mail-server/issues/1104
buildNoDefaultFeatures = true;
buildFeatures = [
"sqlite"
"postgres"
"mysql"
"rocks"
"elastic"
"s3"
"redis"
] ++ lib.optionals withFoundationdb [ "foundationdb" ];
buildFeatures =
[
"sqlite"
"postgres"
"mysql"
"rocks"
"elastic"
"s3"
"redis"
]
++ lib.optionals withFoundationdb [ "foundationdb" ]
++ lib.optionals stalwartEnterprise [ "enterprise" ];
env = {
OPENSSL_NO_VENDOR = true;
@@ -154,7 +158,17 @@ rustPlatform.buildRustPackage rec {
description = "Secure & Modern All-in-One Mail Server (IMAP, JMAP, SMTP)";
homepage = "https://github.com/stalwartlabs/mail-server";
changelog = "https://github.com/stalwartlabs/mail-server/blob/main/CHANGELOG.md";
license = lib.licenses.agpl3Only;
license =
[ lib.licenses.agpl3Only ]
++ lib.optionals stalwartEnterprise [
{
fullName = "Stalwart Enterprise License 1.0 (SELv1) Agreement";
url = "https://github.com/stalwartlabs/mail-server/blob/main/LICENSES/LicenseRef-SEL.txt";
free = false;
redistributable = false;
}
];
maintainers = with lib.maintainers; [
happysalada
onny
+4
View File
@@ -10909,6 +10909,10 @@ with pkgs;
stalwart-mail-webadmin = stalwart-mail.webadmin;
stalwart-mail-enterprise = stalwart-mail.override {
stalwartEnterprise = true;
};
ruby-zoom = callPackage ../tools/text/ruby-zoom { };
inherit (callPackages ../servers/monitoring/sensu-go { })