openexr_3: enable tests
This commit is contained in:
parent
04c0fa2d3a
commit
c893059836
1 changed files with 9 additions and 0 deletions
|
@ -28,9 +28,18 @@ stdenv.mkDerivation rec {
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# tests are determined to use /var/tmp on unix
|
||||||
|
postPatch = ''
|
||||||
|
cat <(find . -name tmpDir.h) <(echo src/test/OpenEXRCoreTest/main.cpp) | while read -r f ; do
|
||||||
|
substituteInPlace $f --replace '/var/tmp' "$TMPDIR"
|
||||||
|
done
|
||||||
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake ];
|
||||||
propagatedBuildInputs = [ imath zlib ];
|
propagatedBuildInputs = [ imath zlib ];
|
||||||
|
|
||||||
|
doCheck = true;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A high dynamic-range (HDR) image file format";
|
description = "A high dynamic-range (HDR) image file format";
|
||||||
homepage = "https://www.openexr.com/";
|
homepage = "https://www.openexr.com/";
|
||||||
|
|
Loading…
Reference in a new issue