hyperscan: add checkPhase

This commit is contained in:
Your Name
2023-09-01 09:52:45 +00:00
committed by Anderson Torres
parent c73d887dc3
commit ba7b67c70d
@@ -41,6 +41,15 @@ stdenv.mkDerivation (finalAttrs: {
--replace "includedir=@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_INCLUDEDIR@" "includedir=@CMAKE_INSTALL_INCLUDEDIR@"
'';
doCheck = true;
checkPhase = ''
runHook preCheck
bin/unit-hyperscan
runHook postCheck
'';
meta = with lib; {
description = "High-performance multiple regex matching library";
longDescription = ''