fork
Configure Feed
Select the types of activity you want to include in your feed.
nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
fork
Configure Feed
Select the types of activity you want to include in your feed.
1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5 meson,
6 ninja,
7 pkg-config,
8 openssl,
9}:
10
11stdenv.mkDerivation (finalAttrs: {
12 pname = "libESMTP";
13 version = "1.1.0";
14
15 nativeBuildInputs = [
16 meson
17 ninja
18 pkg-config
19 ];
20 buildInputs = [ openssl ];
21
22 mesonFlags = lib.optional (stdenv.hostPlatform.libc == "glibc") "-Dc_args=-D_DEFAULT_SOURCE";
23
24 src = fetchFromGitHub {
25 owner = "libesmtp";
26 repo = "libESMTP";
27 rev = "v${finalAttrs.version}";
28 sha256 = "1bhh8hlsl9597x0bnfl563k2c09b61qnkb9mfyqcmzlq63m1zw5y";
29 };
30
31 meta = {
32 description = "Library for Posting Electronic Mail";
33 longDescription = ''
34 libESMTP is an SMTP client library which manages submission of electronic mail
35 via a preconfigured Mail Transport Agent (MTA) such as Exim or Postfix.
36 It implements many SMTP extensions including TLS for security
37 and PIPELINING for high performance.
38 '';
39 homepage = "https://libesmtp.github.io/";
40 license = lib.licenses.lgpl21Plus;
41 };
42})