2016-09-11 22:24:51 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, gtk2
|
2015-03-21 13:05:16 +00:00
|
|
|
|
2005-12-19 10:34:01 +00:00
|
|
|
, openssl ? null
|
|
|
|
, gpgme ? null
|
2015-03-21 13:05:16 +00:00
|
|
|
, sslSupport ? true
|
|
|
|
, gpgSupport ? true
|
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
|
|
|
|
2016-04-29 03:36:42 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2014-05-07 14:30:59 +01:00
|
|
|
name = "sylpheed-${version}";
|
2016-04-29 03:36:42 +01:00
|
|
|
version = "3.5.0";
|
2005-05-26 21:09:29 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2016-04-29 03:36:42 +01:00
|
|
|
url = "http://sylpheed.sraoss.jp/sylpheed/v3.5/${name}.tar.bz2";
|
|
|
|
sha256 = "0p50cr9h8b7cv1ayxhqxpj3kv0b7k9dga7lmmfb1lvyagg8n42sa";
|
2005-05-26 21:09:29 +01:00
|
|
|
};
|
|
|
|
|
2012-10-15 16:27:37 +01:00
|
|
|
buildInputs =
|
2016-09-11 22:24:51 +01:00
|
|
|
[ pkgconfig gtk2 ]
|
2012-10-15 16:27:37 +01:00
|
|
|
++ optional sslSupport openssl
|
|
|
|
++ optional gpgSupport gpgme;
|
2005-05-26 21:09:29 +01:00
|
|
|
|
2014-11-23 22:43:23 +00:00
|
|
|
configureFlags = optional sslSupport "--enable-ssl"
|
|
|
|
++ optional gpgSupport "--enable-gpgme";
|
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
|
|
|
}
|