2003-11-06 16:24:19 +01:00
|
|
|
{ spellChecking ? true
|
2007-04-28 00:41:35 +02:00
|
|
|
, stdenv, fetchurl, pkgconfig, gtk, gtkspell ? null
|
2011-03-07 18:11:50 +01:00
|
|
|
, perl, pcre, gmime, gettext, intltool
|
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
|
|
|
|
2011-03-07 18:11:50 +01:00
|
|
|
let version = "0.134"; in
|
|
|
|
|
2004-03-29 19:23:01 +02:00
|
|
|
stdenv.mkDerivation {
|
2011-03-07 18:11:50 +01:00
|
|
|
name = "pan-${version}";
|
2003-11-06 17:28:57 +01:00
|
|
|
|
2003-11-06 16:24:19 +01:00
|
|
|
src = fetchurl {
|
2011-03-07 18:11:50 +01:00
|
|
|
url = "http://pan.rebelbase.com/download/releases/${version}/source/pan-${version}.tar.bz2";
|
|
|
|
sha1 = "7ef9385e59edf7d511ad3de6c39482297c820685";
|
2003-11-06 16:24:19 +01:00
|
|
|
};
|
2003-11-06 17:28:57 +01:00
|
|
|
|
2011-03-07 18:11:50 +01:00
|
|
|
buildInputs = [ pkgconfig gtk perl gmime gettext intltool ]
|
2008-06-17 16:19:59 +02:00
|
|
|
++ stdenv.lib.optional spellChecking gtkspell;
|
2006-10-11 18:45:55 +02:00
|
|
|
|
2011-03-07 18:11:50 +01:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
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
|
|
|
}
|