summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2022-01-28 09:11:03 +0100
committerGitHub <noreply@github.com>2022-01-28 09:11:03 +0100
commit32aa3d7829772cfeab644c4d6c320d743a02a56b (patch)
tree67a4ce6a0226fb851208bb25c6a1d32241deb1b8
parenttamarin-prover: install emacs-mode (diff)
downloadnixpkgs-32aa3d7829772cfeab644c4d6c320d743a02a56b.tar.gz
libesmtp: 1.0.6 -> 1.1.0
[Backport release-21.11] libesmtp: 1.0.6 -> 1.1.0 (#157105) * libesmtp: 1.0.6 -> 1.1.0 (cherry picked from commit 41745cbd34d10b3049ef0a39af34116039bbd297) * libesmtp: refresh meta attributes New homepage and SPDX 3.0 license identifier (cherry picked from commit 0857994abce7d4dfed3288296ef0dc13015a7fd0) Co-authored-by: FliegendeWurst <2012gdwu+github@posteo.de> Co-authored-by: Renaud <c0bw3b@users.noreply.github.com>
-rw-r--r--pkgs/development/libraries/libesmtp/default.nix27
1 files changed, 19 insertions, 8 deletions
diff --git a/pkgs/development/libraries/libesmtp/default.nix b/pkgs/development/libraries/libesmtp/default.nix
index 542cff712c82..3193f383d610 100644
--- a/pkgs/development/libraries/libesmtp/default.nix
+++ b/pkgs/development/libraries/libesmtp/default.nix
@@ -1,18 +1,29 @@
-{ lib, stdenv, fetchurl }:
+{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, openssl }:
-stdenv.mkDerivation {
+stdenv.mkDerivation rec {
pname = "libESMTP";
- version = "1.0.6";
+ version = "1.1.0";
- src = fetchurl {
- url = "http://brianstafford.info/libesmtp/libesmtp-1.0.6.tar.bz2";
- sha256 = "02zbniyz7qys1jmx3ghx21kxmns1wc3hmv80gp7ag7yra9f1m9nh";
+ nativeBuildInputs = [ meson ninja pkg-config ];
+ buildInputs = [ openssl ];
+
+ src = fetchFromGitHub {
+ owner = "libesmtp";
+ repo = pname;
+ rev = "v${version}";
+ sha256 = "1bhh8hlsl9597x0bnfl563k2c09b61qnkb9mfyqcmzlq63m1zw5y";
};
meta = with lib; {
- homepage = "http://brianstafford.info/libesmtp/index.html";
description = "A Library for Posting Electronic Mail";
- license = licenses.lgpl21;
+ 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;
};
}