3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/networking/newsreaders/pan/default.nix

31 lines
890 B
Nix
Raw Normal View History

{ spellChecking ? true
, stdenv, fetchurl, pkgconfig, gtk2, gtkspell2 ? null
, perl, pcre, gmime, gettext, intltool, dbus_glib, libnotify
}:
assert spellChecking -> gtkspell2 != null;
2012-07-11 22:04:38 +01:00
let version = "0.139"; in
stdenv.mkDerivation {
name = "pan-${version}";
src = fetchurl {
url = "http://pan.rebelbase.com/download/releases/${version}/source/pan-${version}.tar.bz2";
2017-02-27 10:33:59 +00:00
sha256 = "1fab2i6ngqp66lhls0g7j8d1c1rk75afiqr3r1x2sn3zk47k4pxz";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ gtk2 perl gmime gettext intltool dbus_glib libnotify ]
++ stdenv.lib.optional spellChecking gtkspell2;
enableParallelBuilding = true;
meta = {
description = "A GTK+-based Usenet newsreader good at both text and binaries";
homepage = http://pan.rebelbase.com/;
maintainers = [ stdenv.lib.maintainers.eelco ];
platforms = stdenv.lib.platforms.linux;
};
}