about summary refs log tree commit diff stats
path: root/pkgs/by-name/st/stalwart-mail-free/mail-send.nix
blob: e0d8c573c29d2334e47d5ecdfe0d502840bda3e8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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/"
  '';
})