lol
at 23.05-pre 37 lines 993 B view raw
1{ stdenv 2, lib 3, buildPackages 4, cmake 5, openexr 6}: 7 8stdenv.mkDerivation rec { 9 pname = "ilmbase"; 10 version = lib.getVersion openexr; 11 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; 15 16 outputs = [ "out" "dev" ]; 17 18 nativeBuildInputs = [ cmake ]; 19 depsBuildBuild = [ buildPackages.stdenv.cc ]; 20 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.isx86_64; 25 26 preConfigure = '' 27 # Need to cd after patches for openexr patches to apply. 28 cd IlmBase 29 ''; 30 31 meta = with lib; { 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; 36 }; 37}