package mandoc { description = "unix manpage compiler"; website = "https://mandoc.bsd.lv"; anitya = 70874; version# = "1.14.6"; source = remoteTar { url = "https://mandoc.bsd.lv/snapshots/mandoc-"+version+".tar.gz"; checksum = "wYDRywggIL1cd82yt09-bgvBbZ0IAYtlF4yK3_jq3bz9b6mjWuiXBsxUxZQiD2lM"; compress = gzip; }; enter = true; writable = true; chmod = true; exec = make { chdir = false; preConfigure = ` cat > configure.local << EOF PREFIX=`+prefix+` UTF8_LOCALE=C.UTF-8 EOF `; preMake = ` cat >> Makefile.local << EOF CC = ${CC:-clang} EOF `; check = [ "regress" ]; }; inputs = [ zlib ]; tools = [ perl, diffutils, ]; }