2003-11-06 15:24:19 +00:00
|
|
|
{ spellChecking ? true
|
2007-04-27 22:41:35 +00:00
|
|
|
, stdenv, fetchurl, pkgconfig, gtk, gtkspell ? null
|
2006-05-07 21:58:31 +00:00
|
|
|
, perl, pcre, gmime, gettext
|
2003-11-06 15:24:19 +00:00
|
|
|
}:
|
|
|
|
|
2008-06-17 14:19:59 +00:00
|
|
|
assert spellChecking -> gtkspell != null;
|
2003-11-06 15:24:19 +00:00
|
|
|
|
2004-03-29 17:23:01 +00:00
|
|
|
stdenv.mkDerivation {
|
2007-08-09 13:38:19 +00:00
|
|
|
name = "pan-0.132";
|
2003-11-06 16:28:57 +00:00
|
|
|
|
2003-11-06 15:24:19 +00:00
|
|
|
src = fetchurl {
|
2007-08-09 13:38:19 +00:00
|
|
|
url = http://pan.rebelbase.com/download/releases/0.132/source/pan-0.132.tar.bz2;
|
|
|
|
sha1 = "dc0bf586145b9d617039f49101874fbc76a9dc18";
|
2003-11-06 15:24:19 +00:00
|
|
|
};
|
2003-11-06 16:28:57 +00:00
|
|
|
|
2008-05-21 11:42:46 +00: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";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
2008-06-17 14:19:59 +00:00
|
|
|
buildInputs = [pkgconfig gtk perl pcre gmime gettext]
|
|
|
|
++ stdenv.lib.optional spellChecking gtkspell;
|
2006-10-11 16:45:55 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A GTK+-based Usenet newsreader good at both text and binaries";
|
2008-06-17 14:19:59 +00:00
|
|
|
homepage = http://pan.rebelbase.com/;
|
2006-10-11 16:45:55 +00:00
|
|
|
};
|
2003-11-06 15:24:19 +00:00
|
|
|
}
|