2005-05-26 20:09:29 +00:00
|
|
|
{ sslSupport ? true
|
2005-12-19 10:34:01 +00:00
|
|
|
, gpgSupport ? false
|
2007-05-14 00:29:30 +00:00
|
|
|
, stdenv, fetchurl, pkgconfig, gtk
|
2005-12-19 10:34:01 +00:00
|
|
|
, openssl ? null
|
|
|
|
, gpgme ? null
|
2005-05-26 20:09:29 +00:00
|
|
|
}:
|
|
|
|
|
2012-10-15 15:27:37 +00:00
|
|
|
with stdenv.lib;
|
|
|
|
|
2005-05-26 20:09:29 +00:00
|
|
|
assert sslSupport -> openssl != null;
|
2005-12-19 10:34:01 +00:00
|
|
|
assert gpgSupport -> gpgme != null;
|
2005-05-26 20:09:29 +00:00
|
|
|
|
2014-05-07 13:30:59 +00:00
|
|
|
let version = "3.4.1"; in
|
|
|
|
|
2005-05-26 20:09:29 +00:00
|
|
|
stdenv.mkDerivation {
|
2014-05-07 13:30:59 +00:00
|
|
|
name = "sylpheed-${version}";
|
2005-05-26 20:09:29 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2014-05-07 13:30:59 +00:00
|
|
|
url = "http://sylpheed.sraoss.jp/sylpheed/v3.4/sylpheed-${version}.tar.bz2";
|
|
|
|
sha256 = "11wpifvn8a0p4dqmvi7r61imqkgm6rjjp3h057c344vny37livbx";
|
2005-05-26 20:09:29 +00:00
|
|
|
};
|
|
|
|
|
2012-10-15 15:27:37 +00:00
|
|
|
buildInputs =
|
|
|
|
[ pkgconfig gtk ]
|
|
|
|
++ optional sslSupport openssl
|
|
|
|
++ optional gpgSupport gpgme;
|
2005-05-26 20:09:29 +00:00
|
|
|
|
2014-11-23 22:43:23 +00:00
|
|
|
configureFlags = optional sslSupport "--enable-ssl"
|
|
|
|
++ optional gpgSupport "--enable-gpgme";
|
2005-10-14 12:26:40 +00:00
|
|
|
|
2012-10-15 15:27:37 +00:00
|
|
|
meta = {
|
|
|
|
homepage = http://sylpheed.sraoss.jp/en/;
|
|
|
|
description = "A lightweight and user-friendly e-mail client";
|
|
|
|
maintainers = [ maintainers.eelco ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
license = "GPL";
|
|
|
|
};
|
2005-05-26 20:09:29 +00:00
|
|
|
}
|