stalwart-mail: 0.14.1 -> 0.15.4
* diff: https://github.com/stalwartlabs/stalwart/compare/v0.14.1...v0.15.4 * changelog: https://github.com/stalwartlabs/stalwart/releases/tag/v0.15.4 * remove `elastic` since it's no longer a feature and included by default (see: https://github.com/stalwartlabs/stalwart/discussions/2632#discussioncomment-15458542) * add `azure` and `nats` build features to align with upstream (see: https://github.com/stalwartlabs/stalwart/blob/659419212050bab50f600493fbe48a28aed44ac5/Dockerfile.build#L127) Resolves: NixOS/nixpkgs#473375
This commit is contained in:
@@ -21,16 +21,16 @@
|
||||
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "stalwart-mail" + (lib.optionalString stalwartEnterprise "-enterprise");
|
||||
version = "0.14.1";
|
||||
version = "0.15.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "stalwartlabs";
|
||||
repo = "stalwart";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-Wsk4n6jLOAFhxYb5Hw8XvQem0xccGGoD729nRz3bRF0=";
|
||||
hash = "sha256-MIy1/8r5CMrTbVTjLFuUneoL3J38kZIgUMweoeaf3L0=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-LFXpv8/rHQwzdKEyS4VplQSwFUnZrgv0qDIhZUOGfpo=";
|
||||
cargoHash = "sha256-jVD11wz9Ab1E9KdNG4kp8Jqm2rJ2aUWuFTAOBga6Fgg=";
|
||||
|
||||
depsBuildBuild = [
|
||||
pkg-config
|
||||
@@ -61,9 +61,10 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||
"postgres"
|
||||
"mysql"
|
||||
"rocks"
|
||||
"elastic"
|
||||
"s3"
|
||||
"redis"
|
||||
"azure"
|
||||
"nats"
|
||||
]
|
||||
++ lib.optionals withFoundationdb [ "foundationdb" ]
|
||||
++ lib.optionals stalwartEnterprise [ "enterprise" ];
|
||||
@@ -87,7 +88,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||
mkdir -p $out/lib/systemd/system
|
||||
|
||||
substitute resources/systemd/stalwart-mail.service $out/lib/systemd/system/stalwart-mail.service \
|
||||
--replace "__PATH__" "$out"
|
||||
--replace-fail "__PATH__" "$out"
|
||||
'';
|
||||
|
||||
checkFlags = lib.forEach [
|
||||
@@ -169,6 +170,9 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||
# left: ElementEnd
|
||||
# right: Bytes([...])
|
||||
"responses::tests::parse_responses"
|
||||
# thread 'store::search_tests' (912386) panicked at tests/src/store/mod.rs:116:10:
|
||||
# Missing store type. Try running `STORE=<store_type> cargo test`: NotPresent
|
||||
"store::search_tests"
|
||||
] (test: "--skip=${test}");
|
||||
|
||||
doCheck = !(stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64);
|
||||
|
||||
Reference in New Issue
Block a user