nixpkgs/pkgs/applications/networking/mailreaders/sylpheed/default.nix
Eelco Dolstra e0f8b5d722 * Updated to 0.9.8a.
svn path=/nixpkgs/trunk/; revision=674
2004-01-20 20:29:57 +00:00

28 lines
642 B
Nix

{ sslSupport ? true
, imageSupport ? true
, stdenv, fetchurl, gtk, openssl ? null, gdkpixbuf ? null
}:
assert !isNull gtk;
assert sslSupport -> !isNull openssl;
assert imageSupport -> !isNull gdkpixbuf;
derivation {
name = "sylpheed-0.9.8a";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = http://sylpheed.good-day.net/sylpheed/sylpheed-0.9.8a.tar.bz2;
md5 = "6ac823f06d8fe4f265f37d9c96068e05";
};
sslSupport = sslSupport;
imageSupport = imageSupport;
stdenv = stdenv;
gtk = gtk;
openssl = if sslSupport then openssl else null;
gdkpixbuf = if imageSupport then gdkpixbuf else null;
}