2003-11-06 16:24:19 +01:00
|
|
|
{ spellChecking ? true
|
2007-04-28 00:41:35 +02:00
|
|
|
, stdenv, fetchurl, pkgconfig, gtk, gtkspell ? null
|
2006-05-07 23:58:31 +02:00
|
|
|
, perl, pcre, gmime, gettext
|
2003-11-06 16:24:19 +01:00
|
|
|
}:
|
|
|
|
|
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 {
|
2007-08-09 15:38:19 +02:00
|
|
|
name = "pan-0.132";
|
2003-11-06 17:28:57 +01:00
|
|
|
|
2003-11-06 16:24:19 +01:00
|
|
|
src = fetchurl {
|
2007-08-09 15:38:19 +02:00
|
|
|
url = http://pan.rebelbase.com/download/releases/0.132/source/pan-0.132.tar.bz2;
|
|
|
|
sha1 = "dc0bf586145b9d617039f49101874fbc76a9dc18";
|
2003-11-06 16:24:19 +01:00
|
|
|
};
|
2003-11-06 17:28:57 +01:00
|
|
|
|
2008-05-21 13:42:46 +02:00
|
|
|
patches = [
|
|
|
|
# Patch to build Pan on recent glibs.
|
|
|
|
(fetchurl {
|
|
|
|
url = "http://sources.gentoo.org/viewcvs.py/*checkout*/gentoo-x86/net-nntp/pan/files/pan-0.132-glib-compat.patch?rev=1.1";
|
|
|
|
sha256 = "0bmgnc3l1pz763xns8057qbsjirc0njr8dn34fhy4ig9yk4kp9k7";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
2004-03-29 19:23:01 +02:00
|
|
|
buildInputs = [
|
2007-04-28 00:41:35 +02:00
|
|
|
pkgconfig gtk perl pcre gmime gettext
|
2004-03-29 19:23:01 +02:00
|
|
|
(if spellChecking then gtkspell else null)
|
|
|
|
];
|
|
|
|
|
|
|
|
inherit spellChecking stdenv;
|
2006-10-11 18:45:55 +02:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A GTK+-based Usenet newsreader good at both text and binaries";
|
|
|
|
};
|
2003-11-06 16:24:19 +01:00
|
|
|
}
|