nixpkgs/pkgs/applications/networking/newsreaders/pan/default.nix
Eelco Dolstra f587be2b20 * Pan 0.106.
svn path=/nixpkgs/trunk/; revision=6065
2006-08-07 13:27:56 +00:00

26 lines
670 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://pan.rebelbase.com/download/releases/0.106/SOURCE/pan-0.106.tar.bz2;
md5 = "34cdc4b7606f09517f015a2c624044c9";
};
buildInputs = [
pkgconfig gtk gnet perl pcre gmime gettext
(if spellChecking then gtkspell else null)
];
inherit spellChecking stdenv;
}