2005-05-26 22:09:29 +02:00
|
|
|
{ sslSupport ? true
|
2005-12-19 11:34:01 +01:00
|
|
|
, gpgSupport ? false
|
2007-05-14 02:29:30 +02:00
|
|
|
, stdenv, fetchurl, pkgconfig, gtk
|
2005-12-19 11:34:01 +01:00
|
|
|
, openssl ? null
|
|
|
|
, gpgme ? null
|
2005-05-26 22:09:29 +02:00
|
|
|
}:
|
|
|
|
|
|
|
|
assert sslSupport -> openssl != null;
|
2005-12-19 11:34:01 +01:00
|
|
|
assert gpgSupport -> gpgme != null;
|
2005-05-26 22:09:29 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2009-12-25 19:27:48 +01:00
|
|
|
name = "sylpheed-2.7.1";
|
2005-05-26 22:09:29 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2009-12-25 19:27:48 +01:00
|
|
|
url = http://sylpheed.sraoss.jp/sylpheed/v2.7/sylpheed-2.7.1.tar.bz2;
|
|
|
|
sha256 = "08sfz159y8hi3lky98m6p4nkfiima749lza8gf3s3vp2niylbdlb";
|
2005-05-26 22:09:29 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
2007-05-14 02:29:30 +02:00
|
|
|
pkgconfig gtk
|
2005-05-26 22:09:29 +02:00
|
|
|
(if sslSupport then openssl else null)
|
2005-12-19 11:34:01 +01:00
|
|
|
(if gpgSupport then gpgme else null)
|
2005-05-26 22:09:29 +02:00
|
|
|
];
|
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
(if sslSupport then "--enable-ssl" else null)
|
|
|
|
];
|
2005-10-14 14:26:40 +02:00
|
|
|
|
2005-05-26 22:09:29 +02:00
|
|
|
}
|