msmtp: compiles with keyring support by default (#30584)

* msmtp: compiles with keyring support by default

As it is recommended by msmtp http://msmtp.sourceforge.net/doc/msmtp.html#Authentication
gstqt5
Matthieu Coudron 2017-10-24 16:56:06 +09:00 committed by Peter Hoeg
parent 53e96d575f
commit cd4df565ef
1 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,6 @@
{ stdenv, lib, fetchurl, autoreconfHook, pkgconfig
, openssl, netcat-gnu, gnutls, gsasl, libidn, Security
, withKeyring ? true, libsecret ? null
, systemd ? null }:
let
@ -20,7 +21,9 @@ in stdenv.mkDerivation rec {
];
buildInputs = [ openssl gnutls gsasl libidn ]
++ stdenv.lib.optional stdenv.isDarwin Security;
++ stdenv.lib.optional stdenv.isDarwin Security
++ stdenv.lib.optional withKeyring libsecret;
nativeBuildInputs = [ autoreconfHook pkgconfig ];
configureFlags =