2014-01-31 21:05:37 +01:00
|
|
|
{stdenv, fetchurl, db, groff}:
|
2005-08-23 16:19:16 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2008-02-07 14:32:48 +01:00
|
|
|
name = "man-db-2.5.1";
|
|
|
|
|
2005-08-23 16:19:16 +02:00
|
|
|
src = fetchurl {
|
2013-07-14 04:23:06 +02:00
|
|
|
url = mirror://savannah/man-db/man-db-2.5.1.tar.gz;
|
2008-02-07 14:32:48 +01:00
|
|
|
sha256 = "178w1fk23ffh8vabj29cn0yyg5ps7bwy1zrrrcsw8aypbh3sfjy3";
|
2005-08-23 16:19:16 +02:00
|
|
|
};
|
2008-02-07 14:32:48 +01:00
|
|
|
|
2014-01-31 21:05:37 +01:00
|
|
|
buildInputs = [db groff];
|
2008-02-07 14:32:48 +01:00
|
|
|
|
|
|
|
configureFlags = ''
|
|
|
|
--disable-setuid
|
|
|
|
--with-nroff=${groff}/bin/nroff
|
|
|
|
--with-tbl=${groff}/bin/tbl
|
|
|
|
--with-eqn=${groff}/bin/eqn
|
|
|
|
--with-neqn=${groff}/bin/neqn
|
|
|
|
'';
|
|
|
|
|
|
|
|
troff = "${groff}/bin/troff";
|
|
|
|
|
2007-01-09 18:09:44 +01:00
|
|
|
patches = [
|
|
|
|
# Search in "share/man" relative to each path in $PATH (in addition to "man").
|
|
|
|
./share.patch
|
|
|
|
];
|
2008-02-07 14:32:48 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://www.nongnu.org/man-db/;
|
|
|
|
description = "An implementation of the standard Unix documentation system accessed using the man command";
|
|
|
|
};
|
2005-08-23 16:19:16 +02:00
|
|
|
}
|