at 18.09-beta 36 lines 945 B view raw
1{ stdenv, fetchurl, automake, autoconf, libtool, which }: 2 3stdenv.mkDerivation rec { 4 name = "ilmbase-${version}"; 5 version = "2.3.0"; 6 7 src = fetchurl { 8 url = "https://github.com/openexr/openexr/releases/download/v${version}/${name}.tar.gz"; 9 sha256 = "0qiq5bqq9rxhqjiym2k36sx4vq8adgrz6xf6qwizi9bqm78phsa5"; 10 }; 11 12 outputs = [ "out" "dev" ]; 13 14 preConfigure = '' 15 patchShebangs ./bootstrap 16 ./bootstrap 17 ''; 18 19 buildInputs = [ automake autoconf libtool which ]; 20 21 NIX_CFLAGS_LINK = [ "-pthread" ]; 22 23 patches = [ ./bootstrap.patch ]; 24 25 # fails 1 out of 1 tests with 26 # "lt-ImathTest: testBoxAlgo.cpp:892: void {anonymous}::boxMatrixTransform(): Assertion `b21 == b2' failed" 27 # at least on i686. spooky! 28 doCheck = stdenv.isx86_64; 29 30 meta = with stdenv.lib; { 31 homepage = http://www.openexr.com/; 32 license = licenses.bsd3; 33 platforms = platforms.all; 34 maintainers = with maintainers; [ wkennington ]; 35 }; 36}