nixpkgs-suyu/pkgs/development/libraries/openexr/default.nix
William A. Kennington III 51cc9612b7 openexr: 1.7.1 -> 2.2.0
2015-02-18 18:03:34 -08:00

31 lines
668 B
Nix

{ stdenv, callPackage, autoconf, automake, libtool, pkgconfig, zlib, ilmbase }:
let
source = callPackage ./source.nix { };
in
stdenv.mkDerivation rec {
name = "openexr-${source.version}";
src = source.src;
prePatch = ''
cd OpenEXR
'';
preConfigure = ''
./bootstrap
'';
configureFlags = [ "--enable-imfexamples" ];
buildInputs = [ autoconf automake libtool pkgconfig ];
propagatedBuildInputs = [ ilmbase zlib ];
meta = with stdenv.lib; {
homepage = http://www.openexr.com/;
license = licenses.bsd3;
platforms = platforms.all;
maintainers = with maintainers; [ wkennington ];
};
passthru.source = source;
}