nixpkgs-suyu/pkgs/applications/networking/newsreaders/pan/default.nix
Eelco Dolstra 503576d277 * Pan 0.137.
svn path=/nixpkgs/trunk/; revision=34139
2012-05-16 20:04:56 +00:00

28 lines
800 B
Nix

{ spellChecking ? true
, stdenv, fetchurl, pkgconfig, gtk, gtkspell ? null
, perl, pcre, gmime, gettext, intltool, dbus_glib, libnotify
}:
assert spellChecking -> gtkspell != null;
let version = "0.137"; in
stdenv.mkDerivation {
name = "pan-${version}";
src = fetchurl {
url = "http://pan.rebelbase.com/download/releases/${version}/source/pan-${version}.tar.bz2";
sha1 = "372f1f6406e2fcd9ce413774730975560f546fcf";
};
buildInputs = [ pkgconfig gtk perl gmime gettext intltool dbus_glib libnotify ]
++ stdenv.lib.optional spellChecking gtkspell;
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 ];
};
}