hyperscan: add checkPhase

This commit is contained in:
Your Name 2023-08-31 23:00:41 -07:00 committed by Anderson Torres
parent c73d887dc3
commit ba7b67c70d

View file

@ -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 = ''