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
|
|
|
|
, libxml2, perl, pcre
|
2003-11-06 16:24:19 +01:00
|
|
|
}:
|
|
|
|
|
2004-03-27 16:48:19 +01:00
|
|
|
assert pkgconfig != null && gtk != null && gnet != null
|
|
|
|
&& libxml2 != null && 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 {
|
2004-03-27 16:48:19 +01:00
|
|
|
name = "pan-0.14.2.91";
|
2003-11-06 17:28:57 +01:00
|
|
|
|
2003-11-06 16:24:19 +01:00
|
|
|
src = fetchurl {
|
2004-03-27 16:48:19 +01:00
|
|
|
url = http://pan.rebelbase.com/download/releases/0.14.2.91/SOURCE/pan-0.14.2.91.tar.bz2;
|
|
|
|
md5 = "4770d899a1c1ba968ce96bc5aeb07b62";
|
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 = [
|
|
|
|
pkgconfig gtk gnet libxml2 perl pcre
|
|
|
|
(if spellChecking then gtkspell else null)
|
|
|
|
];
|
|
|
|
|
|
|
|
inherit spellChecking stdenv;
|
2003-11-06 16:24:19 +01:00
|
|
|
}
|