nixpkgs/pkgs/applications/networking/newsreaders/pan/default.nix
Eelco Dolstra 1442e8ec22 * Copy a bunch of files to nix.cs.uu.nl.
svn path=/nixpkgs/trunk/; revision=6711
2006-10-12 13:50:54 +00:00

30 lines
748 B
Nix

{ spellChecking ? true
, stdenv, fetchurl, pkgconfig, gtk, gtkspell ? null, gnet
, perl, pcre, gmime, gettext
}:
assert pkgconfig != null && gtk != null && gnet != null
&& perl != null && pcre != null;
assert spellChecking -> gtkspell != null /* !!! && gtk == gtkspell.gtk */;
# !!! assert gtk.glib == gnet.glib;
stdenv.mkDerivation {
name = "pan-0.106";
src = fetchurl {
url = http://nix.cs.uu.nl/dist/tarballs/pan-0.106.tar.bz2;
md5 = "34cdc4b7606f09517f015a2c624044c9";
};
buildInputs = [
pkgconfig gtk gnet perl pcre gmime gettext
(if spellChecking then gtkspell else null)
];
inherit spellChecking stdenv;
meta = {
description = "A GTK+-based Usenet newsreader good at both text and binaries";
};
}