mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-20 12:43:52 +00:00
2e8c66c1d3
svn path=/nixpkgs/trunk/; revision=27518
29 lines
758 B
Nix
29 lines
758 B
Nix
{ spellChecking ? true
|
|
, stdenv, fetchurl, pkgconfig, gtk, gtkspell ? null
|
|
, perl, pcre, gmime, gettext, intltool
|
|
}:
|
|
|
|
assert spellChecking -> gtkspell != null;
|
|
|
|
let version = "0.135"; in
|
|
|
|
stdenv.mkDerivation {
|
|
name = "pan-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "http://pan.rebelbase.com/download/releases/${version}/source/pan-${version}.tar.bz2";
|
|
sha1 = "6cd93facf86615761279113badd7462e59399ae4";
|
|
};
|
|
|
|
buildInputs = [ pkgconfig gtk perl gmime gettext intltool ]
|
|
++ 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 ];
|
|
};
|
|
}
|