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

34 lines
704 B
Nix
Raw Normal View History

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