nixpkgs/pkgs/applications/networking/mailreaders/sylpheed/default.nix
Armijn Hemel bf23a785fc 2.4.8 -> 2.5.0
svn path=/nixpkgs/trunk/; revision=12351
2008-07-13 14:27:28 +00:00

30 lines
610 B
Nix

{ sslSupport ? true
, gpgSupport ? false
, stdenv, fetchurl, pkgconfig, gtk
, openssl ? null
, gpgme ? null
}:
assert sslSupport -> openssl != null;
assert gpgSupport -> gpgme != null;
stdenv.mkDerivation {
name = "sylpheed-2.5.0";
src = fetchurl {
url = http://sylpheed.sraoss.jp/sylpheed/v2.5/sylpheed-2.5.0.tar.bz2;
sha256 = "0qc7sgcb23x16y6qhyrbv3hphqkmk5s9nr6xfxv5rqi6272qv2ni";
};
buildInputs = [
pkgconfig gtk
(if sslSupport then openssl else null)
(if gpgSupport then gpgme else null)
];
configureFlags = [
(if sslSupport then "--enable-ssl" else null)
];
}