2015-02-19 03:02:05 +01:00
|
|
|
{ stdenv, callPackage, autoconf, automake, libtool, pkgconfig, zlib, ilmbase }:
|
|
|
|
let
|
|
|
|
source = callPackage ./source.nix { };
|
|
|
|
in
|
2010-07-28 20:01:17 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2015-02-19 03:02:05 +01:00
|
|
|
name = "openexr-${source.version}";
|
2010-07-28 20:01:17 +02:00
|
|
|
|
2015-02-19 03:02:05 +01:00
|
|
|
src = source.src;
|
|
|
|
|
|
|
|
prePatch = ''
|
|
|
|
cd OpenEXR
|
|
|
|
'';
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
./bootstrap
|
|
|
|
'';
|
|
|
|
|
|
|
|
configureFlags = [ "--enable-imfexamples" ];
|
2010-07-28 20:01:17 +02:00
|
|
|
|
2015-02-19 03:02:05 +01:00
|
|
|
buildInputs = [ autoconf automake libtool pkgconfig ];
|
|
|
|
propagatedBuildInputs = [ ilmbase zlib ];
|
2010-07-28 20:01:17 +02:00
|
|
|
|
2015-02-19 03:02:05 +01: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 23:04:57 +01:00
|
|
|
}
|