2003-11-06 15:24:19 +00:00
|
|
|
{ spellChecking ? true
|
2007-04-27 23:41:35 +01:00
|
|
|
, stdenv, fetchurl, pkgconfig, gtk, gtkspell ? null
|
2011-03-07 17:11:50 +00:00
|
|
|
, perl, pcre, gmime, gettext, intltool
|
2003-11-06 15:24:19 +00:00
|
|
|
}:
|
|
|
|
|
2008-06-17 15:19:59 +01:00
|
|
|
assert spellChecking -> gtkspell != null;
|
2003-11-06 15:24:19 +00:00
|
|
|
|
2011-06-22 18:57:32 +01:00
|
|
|
let version = "0.135"; in
|
2011-03-07 17:11:50 +00:00
|
|
|
|
2004-03-29 18:23:01 +01:00
|
|
|
stdenv.mkDerivation {
|
2011-03-07 17:11:50 +00:00
|
|
|
name = "pan-${version}";
|
2003-11-06 16:28:57 +00:00
|
|
|
|
2003-11-06 15:24:19 +00:00
|
|
|
src = fetchurl {
|
2011-03-07 17:11:50 +00:00
|
|
|
url = "http://pan.rebelbase.com/download/releases/${version}/source/pan-${version}.tar.bz2";
|
2011-06-22 18:57:32 +01:00
|
|
|
sha1 = "6cd93facf86615761279113badd7462e59399ae4";
|
2003-11-06 15:24:19 +00:00
|
|
|
};
|
2003-11-06 16:28:57 +00:00
|
|
|
|
2011-03-07 17:11:50 +00:00
|
|
|
buildInputs = [ pkgconfig gtk perl gmime gettext intltool ]
|
2008-06-17 15:19:59 +01:00
|
|
|
++ stdenv.lib.optional spellChecking gtkspell;
|
2006-10-11 17:45:55 +01:00
|
|
|
|
2011-03-07 17:11:50 +00:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2006-10-11 17:45:55 +01:00
|
|
|
meta = {
|
|
|
|
description = "A GTK+-based Usenet newsreader good at both text and binaries";
|
2008-06-17 15:19:59 +01:00
|
|
|
homepage = http://pan.rebelbase.com/;
|
2010-07-09 10:12:42 +01:00
|
|
|
maintainers = [ stdenv.lib.maintainers.eelco ];
|
2006-10-11 17:45:55 +01:00
|
|
|
};
|
2003-11-06 15:24:19 +00:00
|
|
|
}
|