Skip to content

Commit

Permalink
stalwart-cli: init at 0.10.7
Browse files Browse the repository at this point in the history
  • Loading branch information
giomf committed Jan 24, 2025
1 parent 3c037d6 commit 9d514ed
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions pkgs/by-name/st/stalwart-cli/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
lib,
rustPlatform,
versionCheckHook,
stalwart-mail,
}:

rustPlatform.buildRustPackage rec {
pname = "stalwart-cli";
version = stalwart-mail.version;
src = stalwart-mail.src;

buildAndTestSubdir = "crates/cli";
cargoHash = "sha256-9gqk26qCic1N8LHXLX3fWyk/oQr3QifbmPzAEWL6ZHo=";

doInstallCheck = true;
nativeInstallCheckInputs = [ versionCheckHook ];
versionCheckProgramArg = [ "--version" ];

meta = {
description = "Stalwart Mail Server CLI";
homepage = "https://github.com/stalwartlabs/mail-server";
changelog = "https://github.com/stalwartlabs/mail-server/blob/v${version}/CHANGELOG.md";
license = lib.licenses.agpl3Only;
mainProgram = "stalwart-cli";
maintainers = with lib.maintainers; [
giomf
];
};
}

0 comments on commit 9d514ed

Please sign in to comment.