blob: 299accef4e5dbaff6c7aeec452e29508dff77340 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
{ 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";
};
patches =
[ # Build on GCC 4.4.
(fetchurl {
url = "http://sources.gentoo.org/viewcvs.py/*checkout*/gentoo-x86/net-nntp/pan/files/pan-0.133-gcc44.patch?rev=1.1";
sha256 = "05xmgvcpl1gjcfab8xsdy400p55j59hp52fwa4qbwlqy3c35qv1v";
})
];
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/;
maintainers = [ stdenv.lib.maintainers.eelco ];
};
}
|