forked from mirrors/nixpkgs
d0aa54c8fa
svn path=/nixpkgs/trunk/; revision=12496
24 lines
612 B
Nix
24 lines
612 B
Nix
{ spellChecking ? true
|
|
, stdenv, fetchurl, pkgconfig, gtk, gtkspell ? null
|
|
, perl, pcre, gmime, gettext
|
|
}:
|
|
|
|
assert spellChecking -> gtkspell != null;
|
|
|
|
stdenv.mkDerivation {
|
|
name = "pan-0.133";
|
|
|
|
src = fetchurl {
|
|
url = http://pan.rebelbase.com/download/releases/0.133/source/pan-0.133.tar.bz2;
|
|
sha1 = "a0bd98ea1ba174800896611e3305a6b6d8dbde2f";
|
|
};
|
|
|
|
buildInputs = [pkgconfig gtk perl pcre gmime gettext]
|
|
++ stdenv.lib.optional spellChecking gtkspell;
|
|
|
|
meta = {
|
|
description = "A GTK+-based Usenet newsreader good at both text and binaries";
|
|
homepage = http://pan.rebelbase.com/;
|
|
};
|
|
}
|