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 {
|
2008-07-13 15:27:28 +01:00
|
|
|
name = "sylpheed-2.5.0";
|
2005-05-26 21:09:29 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2008-07-13 15:27:28 +01:00
|
|
|
url = http://sylpheed.sraoss.jp/sylpheed/v2.5/sylpheed-2.5.0.tar.bz2;
|
|
|
|
sha256 = "0qc7sgcb23x16y6qhyrbv3hphqkmk5s9nr6xfxv5rqi6272qv2ni";
|
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
|
|
|
}
|