nixpkgs-suyu/pkgs/development/libraries/ilmbase/default.nix
2018-01-02 00:30:22 +01:00

29 lines
675 B
Nix

{ stdenv, fetchurl, automake, autoconf, libtool, which }:
stdenv.mkDerivation rec {
name = "ilmbase-2.2.1";
src = fetchurl {
url = "http://download.savannah.nongnu.org/releases/openexr/${name}.tar.gz";
sha256 = "17k0hq19wplx9s029kjrq6c51x2ryrfmaavcappkd0g67gk0dhna";
};
outputs = [ "out" "dev" ];
preConfigure = ''
./bootstrap
'';
buildInputs = [ automake autoconf libtool which ];
NIX_CFLAGS_LINK = [ "-pthread" ];
patches = [ ./bootstrap.patch ];
meta = with stdenv.lib; {
homepage = http://www.openexr.com/;
license = licenses.bsd3;
platforms = platforms.all;
maintainers = with maintainers; [ wkennington ];
};
}