mandoc: run regression test suite

This commit is contained in:
sternenseemann 2021-09-19 19:53:16 +02:00
parent a0a2b5f788
commit 342cabea95

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, zlib }:
{ lib, stdenv, fetchurl, zlib, perl }:
stdenv.mkDerivation rec {
pname = "mandoc";
@ -24,6 +24,11 @@ stdenv.mkDerivation rec {
printf '%s' "$configureLocal" > configure.local
'';
doCheck = stdenv.hostPlatform == stdenv.buildPlatform;
checkTarget = "regress";
checkInputs = [ perl ];
preCheck = "patchShebangs --build regress/regress.pl";
meta = with lib; {
homepage = "https://mandoc.bsd.lv/";
description = "suite of tools compiling mdoc and man";