2
0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-04-16 08:18:10 +00:00

stalwart-mail: 0.6.0 -> 0.8.0

This commit is contained in:
Jonas Heinrich 2024-04-17 17:19:10 +02:00
parent 977a49df31
commit 02c18cc8f6
3 changed files with 11 additions and 7097 deletions
pkgs
by-name/st/stalwart-mail
servers/mail/stalwart
top-level

View File

@ -11,12 +11,18 @@
, darwin
, nix-update-script
, nixosTests
, rocksdb_8_3
, rocksdb_8_11
}:
let
version = "0.6.0";
rocksdb = rocksdb_8_3;
# Stalwart depends on rocksdb crate:
# https://github.com/stalwartlabs/mail-server/blob/v0.8.0/crates/store/Cargo.toml#L10
# which expects a specific rocksdb versions:
# https://github.com/rust-rocksdb/rust-rocksdb/blob/v0.22.0/librocksdb-sys/Cargo.toml#L3
# See upstream issue for rocksdb 9.X support
# https://github.com/stalwartlabs/mail-server/issues/407
rocksdb = rocksdb_8_11;
version = "0.8.0";
in
rustPlatform.buildRustPackage {
pname = "stalwart-mail";
@ -26,13 +32,11 @@ rustPlatform.buildRustPackage {
owner = "stalwartlabs";
repo = "mail-server";
rev = "v${version}";
hash = "sha256-OHwUWSUW6ovLQTxnuUrolQGhxbhp4YqKSH+ZTpe2WXc=";
hash = "sha256-V6Gl59938AplFW7pbrbGWB42+zRQBEaTUSW0+TMBo8I=";
fetchSubmodules = true;
};
cargoLock = {
lockFile = ./Cargo.lock;
};
cargoHash = "sha256-LWA08GNCrDlSwcSAlAi58OkoLs41fL6J5DPCsacozsM=";
nativeBuildInputs = [
pkg-config

File diff suppressed because it is too large Load Diff

View File

@ -9373,8 +9373,6 @@ with pkgs;
inherit (darwin.apple_sdk.frameworks) AppKit;
};
stalwart-mail = callPackage ../servers/mail/stalwart { };
jmespath = callPackage ../development/tools/jmespath { };
juicefs = callPackage ../tools/filesystems/juicefs { };