mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
gifticlib: migrate to ctestCheckHook
This commit is contained in:
parent
00b1aef96b
commit
400e50bf03
1 changed files with 6 additions and 5 deletions
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue