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

19 lines
452 B
Nix
Raw Normal View History

{ stdenv, fetchurl, pkgconfig, zlib, ctl, ilmbase }:
stdenv.mkDerivation rec {
name = "openexr-1.6.1";
src = fetchurl {
url = "http://download.savannah.nongnu.org/releases/openexr/${name}.tar.gz";
sha256 = "0l2rdbx9lg4qk2ms98hwbsnzpggdrx3pbjl6pcvrrpjqp5m905n6";
};
buildInputs = [ pkgconfig ctl ];
propagatedBuildInputs = [ zlib ilmbase ];
configureFlags = "--enable-imfexamples";
patches = [ ./stringh.patch ];
}