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