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
|
|
|
}:
|
|
|
|
|
2008-06-17 16:19:59 +02:00
|
|
|
assert spellChecking -> gtkspell != null;
|
2003-11-06 16:24:19 +01:00
|
|
|
|
2004-03-29 19:23:01 +02:00
|
|
|
stdenv.mkDerivation {
|
2008-08-04 20:00:49 +02:00
|
|
|
name = "pan-0.133";
|
2003-11-06 17:28:57 +01:00
|
|
|
|
2003-11-06 16:24:19 +01:00
|
|
|
src = fetchurl {
|
2008-08-04 20:00:49 +02:00
|
|
|
url = http://pan.rebelbase.com/download/releases/0.133/source/pan-0.133.tar.bz2;
|
|
|
|
sha1 = "a0bd98ea1ba174800896611e3305a6b6d8dbde2f";
|
2003-11-06 16:24:19 +01:00
|
|
|
};
|
2003-11-06 17:28:57 +01:00
|
|
|
|
2010-01-26 15:48:44 +01:00
|
|
|
patches =
|
|
|
|
[ # Build on GCC 4.4.
|
|
|
|
(fetchurl {
|
|
|
|
url = "http://sources.gentoo.org/viewcvs.py/*checkout*/gentoo-x86/net-nntp/pan/files/pan-0.133-gcc44.patch?rev=1.1";
|
|
|
|
sha256 = "05xmgvcpl1gjcfab8xsdy400p55j59hp52fwa4qbwlqy3c35qv1v";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
2008-06-17 16:19:59 +02:00
|
|
|
buildInputs = [pkgconfig gtk perl pcre gmime gettext]
|
|
|
|
++ stdenv.lib.optional spellChecking gtkspell;
|
2006-10-11 18:45:55 +02:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A GTK+-based Usenet newsreader good at both text and binaries";
|
2008-06-17 16:19:59 +02:00
|
|
|
homepage = http://pan.rebelbase.com/;
|
2010-07-09 11:12:42 +02:00
|
|
|
maintainers = [ stdenv.lib.maintainers.eelco ];
|
2006-10-11 18:45:55 +02:00
|
|
|
};
|
2003-11-06 16:24:19 +01:00
|
|
|
}
|