2003-11-06 15:24:19 +00:00
|
|
|
{ spellChecking ? true
|
2016-09-11 22:24:51 +01:00
|
|
|
, stdenv, fetchurl, pkgconfig, gtk2, gtkspell2 ? null
|
2012-05-16 21:04:56 +01:00
|
|
|
, perl, pcre, gmime, gettext, intltool, dbus_glib, libnotify
|
2003-11-06 15:24:19 +00:00
|
|
|
}:
|
|
|
|
|
2016-09-11 22:24:51 +01:00
|
|
|
assert spellChecking -> gtkspell2 != null;
|
2003-11-06 15:24:19 +00:00
|
|
|
|
2012-07-11 22:04:38 +01:00
|
|
|
let version = "0.139"; 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";
|
2017-02-27 10:33:59 +00:00
|
|
|
sha256 = "1fab2i6ngqp66lhls0g7j8d1c1rk75afiqr3r1x2sn3zk47k4pxz";
|
2003-11-06 15:24:19 +00:00
|
|
|
};
|
2003-11-06 16:28:57 +00:00
|
|
|
|
2017-09-05 22:26:13 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ gtk2 perl gmime gettext intltool dbus_glib libnotify ]
|
2016-09-11 22:24:51 +01:00
|
|
|
++ stdenv.lib.optional spellChecking gtkspell2;
|
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 ];
|
2015-03-20 15:52:02 +00:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2006-10-11 17:45:55 +01:00
|
|
|
};
|
2003-11-06 15:24:19 +00:00
|
|
|
}
|