nixpkgs/pkgs/development/libraries/openexr/default.nix

32 lines
668 B
Nix
Raw Normal View History

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