Files
nixpkgs/pkgs/by-name/li/libesmtp/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

43 lines
992 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
meson,
ninja,
pkg-config,
openssl,
}:
stdenv.mkDerivation rec {
pname = "libESMTP";
version = "1.1.0";
nativeBuildInputs = [
meson
ninja
pkg-config
];
buildInputs = [ openssl ];
mesonFlags = lib.optional (stdenv.hostPlatform.libc == "glibc") "-Dc_args=-D_DEFAULT_SOURCE";
src = fetchFromGitHub {
owner = "libesmtp";
repo = "libESMTP";
rev = "v${version}";
sha256 = "1bhh8hlsl9597x0bnfl563k2c09b61qnkb9mfyqcmzlq63m1zw5y";
};
meta = with lib; {
description = "Library for Posting Electronic Mail";
longDescription = ''
libESMTP is an SMTP client library which manages submission of electronic mail
via a preconfigured Mail Transport Agent (MTA) such as Exim or Postfix.
It implements many SMTP extensions including TLS for security
and PIPELINING for high performance.
'';
homepage = "https://libesmtp.github.io/";
license = licenses.lgpl21Plus;
};
}