2015-02-19 02:02:05 +00:00
|
|
|
{ stdenv, callPackage, autoconf, automake, libtool, pkgconfig, zlib, ilmbase }:
|
|
|
|
let
|
|
|
|
source = callPackage ./source.nix { };
|
|
|
|
in
|
2010-07-28 19:01:17 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2015-02-19 02:02:05 +00:00
|
|
|
name = "openexr-${source.version}";
|
2010-07-28 19:01:17 +01:00
|
|
|
|
2015-02-19 02:02:05 +00:00
|
|
|
src = source.src;
|
|
|
|
|
|
|
|
prePatch = ''
|
|
|
|
cd OpenEXR
|
|
|
|
'';
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
./bootstrap
|
|
|
|
'';
|
|
|
|
|
|
|
|
configureFlags = [ "--enable-imfexamples" ];
|
2010-07-28 19:01:17 +01:00
|
|
|
|
2015-02-19 02:02:05 +00:00
|
|
|
buildInputs = [ autoconf automake libtool pkgconfig ];
|
|
|
|
propagatedBuildInputs = [ ilmbase zlib ];
|
2015-03-31 06:27:36 +01:00
|
|
|
|
|
|
|
patches = [ ./bootstrap.patch ];
|
2010-07-28 19:01:17 +01:00
|
|
|
|
2015-02-19 02:02:05 +00:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = http://www.openexr.com/;
|
|
|
|
license = licenses.bsd3;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = with maintainers; [ wkennington ];
|
|
|
|
};
|
|
|
|
|
|
|
|
passthru.source = source;
|
2005-11-12 22:04:57 +00:00
|
|
|
}
|