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 {
|
2007-12-31 21:32:00 +01:00
|
|
|
name = "sylpheed-2.4.8";
|
2005-05-26 22:09:29 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2007-12-31 21:32:00 +01:00
|
|
|
url = http://sylpheed.sraoss.jp/sylpheed/v2.4/sylpheed-2.4.8.tar.bz2;
|
|
|
|
sha256 = "0r4bfkyz39pj02rzn38ss10dhhhv93z1azlbbwdgbkjii3k760fc";
|
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
|
|
|
}
|