mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 22:50:49 +00:00
b5c1deca8a
He prefers to contribute to his own nixpkgs fork triton. Since he is still marked as maintainer in many packages this leaves the wrong impression he still maintains those.
36 lines
859 B
Nix
36 lines
859 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;
|
|
};
|
|
}
|