gifticlib: migrate to ctestCheckHook

This commit is contained in:
Sergei Zimmerman 2025-04-26 10:37:51 +00:00
parent 00b1aef96b
commit 400e50bf03
No known key found for this signature in database
GPG key ID: A9B0B557CA632325

View file

@ -6,6 +6,7 @@
expat, expat,
nifticlib, nifticlib,
zlib, zlib,
ctestCheckHook,
}: }:
stdenv.mkDerivation { stdenv.mkDerivation {
@ -33,11 +34,11 @@ stdenv.mkDerivation {
# without the test data, this is only a few basic tests # without the test data, this is only a few basic tests
doCheck = !stdenv.hostPlatform.isDarwin; doCheck = !stdenv.hostPlatform.isDarwin;
checkPhase = '' nativeCheckInputs = [ ctestCheckHook ];
runHook preCheck checkFlags = [
ctest -LE 'NEEDS_DATA' "-LE"
runHook postCheck "NEEDS_DATA"
''; ];
meta = with lib; { meta = with lib; {
homepage = "https://www.nitrc.org/projects/gifti"; homepage = "https://www.nitrc.org/projects/gifti";