2003-11-06 16:24:19 +01:00
|
|
|
{ spellChecking ? true
|
2007-04-28 00:41:35 +02:00
|
|
|
, stdenv, fetchurl, pkgconfig, gtk, gtkspell ? null
|
2012-05-16 22:04:56 +02:00
|
|
|
, perl, pcre, gmime, gettext, intltool, dbus_glib, libnotify
|
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
|
|
|
|
2012-05-16 22:04:56 +02:00
|
|
|
let version = "0.137"; in
|
2011-03-07 18:11:50 +01:00
|
|
|
|
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";
|
2012-05-16 22:04:56 +02:00
|
|
|
sha1 = "372f1f6406e2fcd9ce413774730975560f546fcf";
|
2003-11-06 16:24:19 +01:00
|
|
|
};
|
2003-11-06 17:28:57 +01:00
|
|
|
|
2012-05-16 22:04:56 +02:00
|
|
|
buildInputs = [ pkgconfig gtk perl gmime gettext intltool dbus_glib libnotify ]
|
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
|
|
|
}
|