2003-11-06 16:28:57 +00:00
|
|
|
{ sslSupport ? true
|
|
|
|
, imageSupport ? true
|
|
|
|
, stdenv, fetchurl, gtk, openssl ? null, gdkpixbuf ? null
|
|
|
|
}:
|
|
|
|
|
|
|
|
assert !isNull gtk;
|
|
|
|
assert sslSupport -> !isNull openssl;
|
|
|
|
assert imageSupport -> !isNull gdkpixbuf;
|
|
|
|
|
|
|
|
derivation {
|
2004-01-20 20:29:57 +00:00
|
|
|
name = "sylpheed-0.9.8a";
|
2003-11-06 16:28:57 +00:00
|
|
|
system = stdenv.system;
|
|
|
|
|
|
|
|
builder = ./builder.sh;
|
|
|
|
src = fetchurl {
|
2004-01-20 20:29:57 +00:00
|
|
|
url = http://sylpheed.good-day.net/sylpheed/sylpheed-0.9.8a.tar.bz2;
|
|
|
|
md5 = "6ac823f06d8fe4f265f37d9c96068e05";
|
2003-11-06 16:28:57 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
sslSupport = sslSupport;
|
|
|
|
imageSupport = imageSupport;
|
|
|
|
|
|
|
|
stdenv = stdenv;
|
|
|
|
gtk = gtk;
|
|
|
|
openssl = if sslSupport then openssl else null;
|
|
|
|
gdkpixbuf = if imageSupport then gdkpixbuf else null;
|
|
|
|
}
|