nixpkgs/pkgs-ng/applications/networking/mailreaders/sylpheed/default.fix
Eelco Dolstra bd9a07f99c * Converted GTK 1 / Sylpheed, with optional support for gdk-pixbuf.
svn path=/nixpkgs/trunk/; revision=490
2003-11-06 16:28:57 +00:00

28 lines
640 B
Plaintext

{ 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.7";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = http://sylpheed.good-day.net/sylpheed/sylpheed-0.9.7.tar.bz2;
md5 = "399deb5abd52396d26d6475689a5ec3f";
};
sslSupport = sslSupport;
imageSupport = imageSupport;
stdenv = stdenv;
gtk = gtk;
openssl = if sslSupport then openssl else null;
gdkpixbuf = if imageSupport then gdkpixbuf else null;
}