nixpkgs/pkgs/development/libraries/libesmtp/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
864 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, openssl }:
2018-03-22 18:54:22 +00:00
stdenv.mkDerivation rec {
pname = "libESMTP";
version = "1.1.0";
2018-03-22 18:54:22 +00:00
nativeBuildInputs = [ meson ninja pkg-config ];
buildInputs = [ openssl ];
src = fetchFromGitHub {
owner = "libesmtp";
repo = pname;
rev = "v${version}";
sha256 = "1bhh8hlsl9597x0bnfl563k2c09b61qnkb9mfyqcmzlq63m1zw5y";
2018-03-22 18:54:22 +00:00
};
2018-03-23 17:45:28 +00:00
meta = with lib; {
2018-03-23 17:45:28 +00:00
description = "A 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;
2018-03-23 17:45:28 +00:00
};
2018-03-22 18:54:22 +00:00
}