nixpkgs-suyu/pkgs/development/libraries/ilmbase/default.nix
Vladimír Čunát f85053a021 ilmbase: fix linkage
The library was missing -pthread symbols. It wasn't failing by itself,
but e.g. blender was failing to link against is fixed now.
2016-08-29 19:40:12 +02:00

27 lines
645 B
Nix

{ stdenv, fetchurl, automake, autoconf, libtool, which }:
stdenv.mkDerivation rec {
name = "ilmbase-2.2.0";
src = fetchurl {
url = "http://download.savannah.nongnu.org/releases/openexr/${name}.tar.gz";
sha256 = "1izddjwbh1grs8080vmaix72z469qy29wrvkphgmqmcm0sv1by7c";
};
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 ];
};
}