2013-03-10 21:17:17 +01:00
|
|
|
{ stdenv, fetchurl, openssl, pkgconfig, gnutls, gsasl, libidn }:
|
2013-07-19 00:53:06 +02:00
|
|
|
|
2013-03-10 21:17:17 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2015-05-06 23:40:52 +02:00
|
|
|
version = "1.6.2";
|
2015-01-09 17:31:10 +01:00
|
|
|
name = "msmtp-${version}";
|
2007-09-03 14:10:57 +02:00
|
|
|
|
2008-01-30 18:20:48 +01:00
|
|
|
src = fetchurl {
|
2015-01-09 17:31:10 +01:00
|
|
|
url = "mirror://sourceforge/msmtp/${name}.tar.xz";
|
2015-05-06 23:40:52 +02:00
|
|
|
sha256 = "12c7ljahb06pgn8yvvw526xvr11vnr6d4nr0apylixddpxycsvig";
|
2007-09-03 14:10:57 +02:00
|
|
|
};
|
|
|
|
|
2013-03-10 21:17:17 +01:00
|
|
|
buildInputs = [ openssl pkgconfig gnutls gsasl libidn ];
|
2010-05-27 21:33:33 +02:00
|
|
|
|
2015-01-09 17:31:10 +01:00
|
|
|
postInstall = ''
|
|
|
|
cp scripts/msmtpq/msmtp-queue scripts/msmtpq/msmtpq $prefix/bin/
|
|
|
|
chmod +x $prefix/bin/msmtp-queue $prefix/bin/msmtpq
|
|
|
|
'';
|
|
|
|
|
2013-03-10 21:17:17 +01:00
|
|
|
meta = {
|
2013-07-19 00:53:06 +02:00
|
|
|
description = "Simple and easy to use SMTP client with excellent sendmail compatibility";
|
2013-03-10 21:17:17 +01:00
|
|
|
homepage = "http://msmtp.sourceforge.net/";
|
|
|
|
license = stdenv.lib.licenses.gpl3;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.garbas ];
|
2013-07-19 00:53:06 +02:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2013-03-10 21:17:17 +01:00
|
|
|
};
|
2007-09-03 14:10:57 +02:00
|
|
|
}
|