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
|
|
|
}:
|
|
|
|
|
|
|
|
assert !isNull pkgconfig && !isNull gtk && !isNull gnet
|
2003-12-01 17:34:13 +01:00
|
|
|
&& !isNull libxml2 && !isNull perl && !isNull pcre;
|
2003-11-06 16:24:19 +01:00
|
|
|
assert spellChecking -> !isNull gtkspell && gtk == gtkspell.gtk;
|
|
|
|
assert gtk.glib == gnet.glib;
|
|
|
|
|
|
|
|
derivation {
|
2003-12-01 17:34:13 +01:00
|
|
|
name = "pan-0.14.2.90";
|
2003-11-06 16:24:19 +01:00
|
|
|
system = stdenv.system;
|
2003-11-06 17:28:57 +01:00
|
|
|
|
2003-11-06 16:24:19 +01:00
|
|
|
builder = ./builder.sh;
|
|
|
|
src = fetchurl {
|
2003-12-01 17:34:13 +01:00
|
|
|
url = http://pan.rebelbase.com/download/releases/0.14.2.90/SOURCE/pan-0.14.2.90.tar.bz2;
|
|
|
|
md5 = "03e6d936254e775a94995ba261be23eb";
|
2003-11-06 16:24:19 +01:00
|
|
|
};
|
2003-11-06 17:28:57 +01:00
|
|
|
|
2003-11-06 16:24:19 +01:00
|
|
|
spellChecking = spellChecking;
|
2003-11-06 17:28:57 +01:00
|
|
|
|
2003-11-06 16:24:19 +01:00
|
|
|
stdenv = stdenv;
|
|
|
|
pkgconfig = pkgconfig;
|
|
|
|
gtk = gtk;
|
|
|
|
gtkspell = if spellChecking then gtkspell else null;
|
|
|
|
gnet = gnet;
|
|
|
|
libxml2 = libxml2;
|
|
|
|
perl = perl;
|
2003-12-01 17:34:13 +01:00
|
|
|
pcre = pcre;
|
2003-11-06 16:24:19 +01:00
|
|
|
}
|