2003-11-06 16:24:19 +01:00
|
|
|
{ spellChecking ? true
|
2003-12-01 17:34:13 +01:00
|
|
|
, stdenv, fetchurl, pkgconfig, gtk, gtkspell ? null, gnet
|
2006-05-07 23:58:31 +02:00
|
|
|
, perl, pcre, gmime, gettext
|
2003-11-06 16:24:19 +01:00
|
|
|
}:
|
|
|
|
|
2004-03-27 16:48:19 +01:00
|
|
|
assert pkgconfig != null && gtk != null && gnet != null
|
2006-05-07 23:58:31 +02:00
|
|
|
&& perl != null && pcre != null;
|
2004-03-30 19:42:45 +02:00
|
|
|
assert spellChecking -> gtkspell != null /* !!! && gtk == gtkspell.gtk */;
|
|
|
|
# !!! assert gtk.glib == gnet.glib;
|
2003-11-06 16:24:19 +01:00
|
|
|
|
2004-03-29 19:23:01 +02:00
|
|
|
stdenv.mkDerivation {
|
2006-05-07 23:58:31 +02:00
|
|
|
name = "pan-0.96";
|
2003-11-06 17:28:57 +01:00
|
|
|
|
2003-11-06 16:24:19 +01:00
|
|
|
src = fetchurl {
|
2006-05-07 23:58:31 +02:00
|
|
|
url = http://pan.rebelbase.com/download/releases/0.96/SOURCE/pan-0.96.tar.bz2;
|
|
|
|
md5 = "b4e355553cd502add3e599d1e867da9e";
|
2003-11-06 16:24:19 +01:00
|
|
|
};
|
2003-11-06 17:28:57 +01:00
|
|
|
|
2004-03-29 19:23:01 +02:00
|
|
|
buildInputs = [
|
2006-05-07 23:58:31 +02:00
|
|
|
pkgconfig gtk gnet perl pcre gmime gettext
|
2004-03-29 19:23:01 +02:00
|
|
|
(if spellChecking then gtkspell else null)
|
|
|
|
];
|
|
|
|
|
|
|
|
inherit spellChecking stdenv;
|
2003-11-06 16:24:19 +01:00
|
|
|
}
|