mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-05 17:56:46 +01:00
37 lines
912 B
Nix
37 lines
912 B
Nix
{ lib, stdenv, fetchurl, autoconf, automake, libtool, pkgconfig, zlib, ilmbase }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "openexr-${version}";
|
|
version = lib.getVersion ilmbase;
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/openexr/openexr/releases/download/v${version}/${name}.tar.gz";
|
|
sha256 = "19jywbs9qjvsbkvlvzayzi81s976k53wg53vw4xj66lcgylb6v7x";
|
|
};
|
|
|
|
patches = [
|
|
./bootstrap.patch
|
|
];
|
|
|
|
outputs = [ "bin" "dev" "out" "doc" ];
|
|
|
|
preConfigure = ''
|
|
patchShebangs ./bootstrap
|
|
./bootstrap
|
|
'';
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
buildInputs = [ autoconf automake libtool ];
|
|
propagatedBuildInputs = [ ilmbase zlib ];
|
|
|
|
enableParallelBuilding = true;
|
|
doCheck = false; # fails 1 of 1 tests
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = http://www.openexr.com/;
|
|
license = licenses.bsd3;
|
|
platforms = platforms.all;
|
|
maintainers = with maintainers; [ wkennington ];
|
|
};
|
|
}
|