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
|
|
|
}:
|
|
|
|
|
|
|
|
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 {
|
2009-12-25 18:27:48 +00:00
|
|
|
name = "sylpheed-2.7.1";
|
2005-05-26 21:09:29 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2009-12-25 18:27:48 +00:00
|
|
|
url = http://sylpheed.sraoss.jp/sylpheed/v2.7/sylpheed-2.7.1.tar.bz2;
|
|
|
|
sha256 = "08sfz159y8hi3lky98m6p4nkfiima749lza8gf3s3vp2niylbdlb";
|
2005-05-26 21:09:29 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
2007-05-14 01:29:30 +01:00
|
|
|
pkgconfig gtk
|
2005-05-26 21:09:29 +01:00
|
|
|
(if sslSupport then openssl else null)
|
2005-12-19 10:34:01 +00:00
|
|
|
(if gpgSupport then gpgme else null)
|
2005-05-26 21:09:29 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
(if sslSupport then "--enable-ssl" else null)
|
|
|
|
];
|
2005-10-14 13:26:40 +01:00
|
|
|
|
2005-05-26 21:09:29 +01:00
|
|
|
}
|