mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 03:23:29 +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,
|
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";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue