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