From cfe0ca029a22de582e4d55572df5b107fdefc1fd Mon Sep 17 00:00:00 2001 From: Quentin Boyer Date: Wed, 18 Dec 2024 23:04:53 +0100 Subject: [PATCH] stalwart-mail.passthru.webadmin: 0.1.19 -> 0.1.20 Changelog: https://github.com/stalwartlabs/webadmin/blob/v0.1.20/CHANGELOG.md --- pkgs/by-name/st/stalwart-mail/webadmin.nix | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/pkgs/by-name/st/stalwart-mail/webadmin.nix b/pkgs/by-name/st/stalwart-mail/webadmin.nix index 31ee2bf40eadf..8776839677eb4 100644 --- a/pkgs/by-name/st/stalwart-mail/webadmin.nix +++ b/pkgs/by-name/st/stalwart-mail/webadmin.nix @@ -16,13 +16,13 @@ rustPlatform.buildRustPackage rec { pname = "webadmin"; - version = "0.1.19"; + version = "0.1.20"; src = fetchFromGitHub { owner = "stalwartlabs"; repo = "webadmin"; - rev = "refs/tags/v${version}"; - hash = "sha256-jaNBYVIIxYjle4JQJdcvzl9f5slRvGPKqtzR2WGc0LE="; + tag = "v${version}"; + hash = "sha256-0/XiYFQDqcpRS9DXPyKQwoifnEd2YxFiyDbV12zd2RU="; }; npmDeps = fetchNpmDeps { @@ -31,7 +31,7 @@ rustPlatform.buildRustPackage rec { hash = "sha256-na1HEueX8w7kuDp8LEtJ0nD1Yv39cyk6sEMpS1zix2s="; }; - cargoHash = "sha256-r4j4+vwmx8JJn3+6i6z6dYBOr6Efdid6qtw9oolCTW8="; + cargoHash = "sha256-uyLGrCZvKiePHFG0C++ELwT/1FTH8c4baAUxV2ueHZ8="; postPatch = '' # Using local tailwindcss for compilation @@ -70,11 +70,11 @@ rustPlatform.buildRustPackage rec { updateScript = nix-update-script { }; }; - meta = with lib; { + meta = { description = "Secure & modern all-in-one mail server Stalwart (webadmin module)"; homepage = "https://github.com/stalwartlabs/webadmin"; - changelog = "https://github.com/stalwartlabs/mail-server/blob/${version}/CHANGELOG"; - license = licenses.agpl3Only; - maintainers = with maintainers; [ onny ]; + changelog = "https://github.com/stalwartlabs/webadmin/blob/${src.tag}/CHANGELOG.md"; + license = lib.licenses.agpl3Only; + maintainers = with lib.maintainers; [ onny ]; }; }