From 80fab76532b5b159cf0c9c910387b1c09907be30 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Tue, 4 Mar 2025 19:21:22 +0100 Subject: pkgs/stalwart-mail-free: Also patch to use the platform CA store This is needed for the test. The general changes are caused by the requirement to update the `chargoHash`, which currently only works with this counter intuitive attribute overriding. --- pkgs/by-name/st/stalwart-mail-free/mail-send.nix | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 pkgs/by-name/st/stalwart-mail-free/mail-send.nix (limited to 'pkgs/by-name/st/stalwart-mail-free/mail-send.nix') diff --git a/pkgs/by-name/st/stalwart-mail-free/mail-send.nix b/pkgs/by-name/st/stalwart-mail-free/mail-send.nix new file mode 100644 index 0000000..e0d8c57 --- /dev/null +++ b/pkgs/by-name/st/stalwart-mail-free/mail-send.nix @@ -0,0 +1,20 @@ +{ + stdenv, + fetchFromGitHub, +}: +stdenv.mkDerivation (finalAttrs: { + pname = "mail-send"; + version = "0.5.0"; + + src = fetchFromGitHub { + owner = "stalwartlabs"; + repo = "mail-send"; + tag = "v${finalAttrs.version}"; + hash = "sha256-uDD4GLwjRpNqjtXPMask0twGW2Gcm1PFyDGXcfPS0F4="; + }; + + installPhase = '' + mkdir --parents "$out" + cp --recursive ./. "$out/" + ''; +}) -- cgit 1.4.1