mandoc: init at 1.13.4

This commit is contained in:
Ram Kromberg 2016-09-11 23:18:13 +03:00
parent 51314631d6
commit c528892280
2 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,35 @@
{ stdenv, fetchurl, zlib }:
stdenv.mkDerivation rec {
name = "mandoc-${version}";
version = "1.13.4";
src = fetchurl {
url = "http://mdocml.bsd.lv/snapshots/mdocml-${version}.tar.gz";
sha256 = "1vz0g5nvjbz1ckrg9cn6ivlnb13bcl1r6nc4yzb7300qvfnw2m8a";
};
buildInputs = [ zlib ];
configureLocal = ''
HAVE_WCHAR=1
MANPATH_DEFAULT="/run/current-system/sw/share/man"
OSNAME="NixOS"
PREFIX="$out"
HAVE_MANPATH=1
LD_OHASH="-lutil"
BUILD_DB=0
'';
preConfigure = ''
echo $configureLocal > configure.local
'';
meta = with stdenv.lib; {
homepage = "http://mdocml.bsd.lv/";
description = "suite of tools compiling mdoc and man";
license = licenses.bsd3;
platforms = platforms.all;
maintainers = with maintainers; [ ramkromberg ];
};
}

View File

@ -2565,6 +2565,8 @@ in
man-db = callPackage ../tools/misc/man-db { }; man-db = callPackage ../tools/misc/man-db { };
mandoc = callPackage ../tools/misc/mandoc { };
mawk = callPackage ../tools/text/mawk { }; mawk = callPackage ../tools/text/mawk { };
mbox = callPackage ../tools/security/mbox { }; mbox = callPackage ../tools/security/mbox { };