{
  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/"
  '';
})