ac80e8229b
svn path=/nixpkgs/trunk/; revision=8622
28 lines
677 B
Nix
28 lines
677 B
Nix
{ spellChecking ? true
|
|
, stdenv, fetchurl, pkgconfig, gtk, gtkspell ? null
|
|
, perl, pcre, gmime, gettext
|
|
}:
|
|
|
|
assert spellChecking -> gtkspell != null /* !!! && gtk == gtkspell.gtk */;
|
|
# !!! assert gtk.glib == gnet.glib;
|
|
|
|
stdenv.mkDerivation {
|
|
name = "pan-0.128";
|
|
|
|
src = fetchurl {
|
|
url = http://pan.rebelbase.com/download/releases/0.128/source/pan-0.128.tar.bz2;
|
|
sha1 = "3fca3cbd3d3ae3cc507d2b0a06a0fe03c993abe6";
|
|
};
|
|
|
|
buildInputs = [
|
|
pkgconfig gtk 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";
|
|
};
|
|
}
|