2005-05-26 21:09:29 +01:00
|
|
|
{ sslSupport ? true
|
2005-12-19 10:34:01 +00:00
|
|
|
, gpgSupport ? false
|
2007-05-14 01:29:30 +01:00
|
|
|
, stdenv, fetchurl, pkgconfig, gtk
|
2005-12-19 10:34:01 +00:00
|
|
|
, openssl ? null
|
|
|
|
, gpgme ? null
|
2005-05-26 21:09:29 +01:00
|
|
|
}:
|
|
|
|
|
2012-10-15 16:27:37 +01:00
|
|
|
with stdenv.lib;
|
|
|
|
|
2005-05-26 21:09:29 +01:00
|
|
|
assert sslSupport -> openssl != null;
|
2005-12-19 10:34:01 +00:00
|
|
|
assert gpgSupport -> gpgme != null;
|
2005-05-26 21:09:29 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2013-07-13 21:39:00 +01:00
|
|
|
name = "sylpheed-3.2.0";
|
2005-05-26 21:09:29 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2012-10-15 16:27:37 +01:00
|
|
|
url = http://sylpheed.sraoss.jp/sylpheed/v3.2/sylpheed-3.2.0.tar.bz2;
|
|
|
|
sha256 = "1cdjwn1f8rgcxzfxj7j7qvacmaw4zfhnip81q4n5lj5d6rj7rssa";
|
2005-05-26 21:09:29 +01:00
|
|
|
};
|
|
|
|
|
2012-10-15 16:27:37 +01:00
|
|
|
buildInputs =
|
|
|
|
[ pkgconfig gtk ]
|
|
|
|
++ optional sslSupport openssl
|
|
|
|
++ optional gpgSupport gpgme;
|
2005-05-26 21:09:29 +01:00
|
|
|
|
2012-10-15 16:27:37 +01:00
|
|
|
configureFlags = optionalString sslSupport "--enable-ssl";
|
2005-10-14 13:26:40 +01:00
|
|
|
|
2012-10-15 16:27:37 +01: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 21:09:29 +01:00
|
|
|
}
|