Unverified Commit 400e50bf authored by Sergei Zimmerman's avatar Sergei Zimmerman
Browse files

gifticlib: migrate to ctestCheckHook

parent 00b1aef9
Loading
Loading
Loading
Loading
+6 −5
Original line number Diff line number Diff line
@@ -6,6 +6,7 @@
  expat,
  nifticlib,
  zlib,
  ctestCheckHook,
}:

stdenv.mkDerivation {
@@ -33,11 +34,11 @@ stdenv.mkDerivation {

  # without the test data, this is only a few basic tests
  doCheck = !stdenv.hostPlatform.isDarwin;
  checkPhase = ''
    runHook preCheck
    ctest -LE 'NEEDS_DATA'
    runHook postCheck
  '';
  nativeCheckInputs = [ ctestCheckHook ];
  checkFlags = [
    "-LE"
    "NEEDS_DATA"
  ];

  meta = with lib; {
    homepage = "https://www.nitrc.org/projects/gifti";