2003-11-06 16:28:57 +00:00
|
|
|
{ sslSupport ? true
|
|
|
|
, imageSupport ? true
|
|
|
|
, stdenv, fetchurl, gtk, openssl ? null, gdkpixbuf ? null
|
|
|
|
}:
|
|
|
|
|
2004-03-27 15:48:19 +00:00
|
|
|
assert gtk != null;
|
|
|
|
assert sslSupport -> openssl != null;
|
|
|
|
assert imageSupport -> gdkpixbuf != null;
|
2003-11-06 16:28:57 +00:00
|
|
|
|
2004-03-29 18:23:01 +01:00
|
|
|
stdenv.mkDerivation {
|
2005-05-26 20:45:29 +01:00
|
|
|
name = "sylpheed-1.0.4";
|
2003-11-06 16:28:57 +00:00
|
|
|
|
|
|
|
builder = ./builder.sh;
|
|
|
|
src = fetchurl {
|
2005-05-26 20:45:29 +01:00
|
|
|
url = http://sylpheed.good-day.net/sylpheed/v1.0/sylpheed-1.0.4.tar.bz2;
|
|
|
|
md5 = "e47b275c281335d09201503af2115eaa";
|
2003-11-06 16:28:57 +00:00
|
|
|
};
|
|
|
|
|
2004-03-27 15:48:19 +00:00
|
|
|
inherit sslSupport imageSupport;
|
2003-11-06 16:28:57 +00:00
|
|
|
|
2004-03-29 18:23:01 +01:00
|
|
|
inherit gtk;
|
2003-11-06 16:28:57 +00:00
|
|
|
openssl = if sslSupport then openssl else null;
|
|
|
|
gdkpixbuf = if imageSupport then gdkpixbuf else null;
|
|
|
|
}
|