1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-18 19:26:02 +00:00
nixpkgs/pkgs/applications/networking/newsreaders/pan/default.nix
Eelco Dolstra d10651a8b7 * zOMG, a new Pan release!
* Delete gmime 2.2.x because the old version of Pan was the only
  package that needed it.

svn path=/nixpkgs/trunk/; revision=26200
2011-03-07 17:11:50 +00:00

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.134"; in
stdenv.mkDerivation {
name = "pan-${version}";
src = fetchurl {
url = "http://pan.rebelbase.com/download/releases/${version}/source/pan-${version}.tar.bz2";
sha1 = "7ef9385e59edf7d511ad3de6c39482297c820685";
};
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 ];
};
}