2016-09-11 21:24:51 +00: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 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
|
|
|
|
2016-04-29 02:36:42 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2014-05-07 13:30:59 +00:00
|
|
|
name = "sylpheed-${version}";
|
2016-04-29 02:36:42 +00:00
|
|
|
version = "3.5.0";
|
2005-05-26 20:09:29 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2016-04-29 02:36:42 +00:00
|
|
|
url = "http://sylpheed.sraoss.jp/sylpheed/v3.5/${name}.tar.bz2";
|
|
|
|
sha256 = "0p50cr9h8b7cv1ayxhqxpj3kv0b7k9dga7lmmfb1lvyagg8n42sa";
|
2005-05-26 20:09:29 +00:00
|
|
|
};
|
|
|
|
|
2012-10-15 15:27:37 +00:00
|
|
|
buildInputs =
|
2016-09-11 21:24:51 +00:00
|
|
|
[ pkgconfig gtk2 ]
|
2012-10-15 15:27:37 +00:00
|
|
|
++ 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
|
|
|
}
|