8 stdenv.mkDerivation rec {
10 version = lib.getVersion openexr;
12 # the project no longer provides separate tarballs. We may even want to merge
13 # the ilmbase package into openexr in the future.
14 inherit (openexr) src patches;
16 outputs = [ "out" "dev" ];
18 nativeBuildInputs = [ cmake ];
19 depsBuildBuild = [ buildPackages.stdenv.cc ];
21 # fails 1 out of 1 tests with
22 # "lt-ImathTest: testBoxAlgo.cpp:892: void {anonymous}::boxMatrixTransform(): Assertion `b21 == b2' failed"
23 # at least on i686. spooky!
24 doCheck = stdenv.hostPlatform.isx86_64;
27 # Need to cd after patches for openexr patches to apply.
32 description = " A library for 2D/3D vectors and matrices and other mathematical objects, functions and data types for computer graphics";
33 homepage = "https://www.openexr.com/";
34 license = licenses.bsd3;
35 platforms = platforms.all;