1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00
nixpkgs/pkgs/development/libraries/openexr/default.nix
2015-03-31 01:27:36 -04:00

34 lines
704 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 ];
patches = [ ./bootstrap.patch ];
meta = with stdenv.lib; {
homepage = http://www.openexr.com/;
license = licenses.bsd3;
platforms = platforms.all;
maintainers = with maintainers; [ wkennington ];
};
passthru.source = source;
}