depot/third_party/nixpkgs/pkgs/development/libraries/openexr/3.nix
Default email 58849dfc4f Project import generated by Copybara.
GitOrigin-RevId: 21c937f8cb1e6adcfeb36dfd6c90d9d9bfab1d28
2021-08-27 16:25:00 +02:00

32 lines
686 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, zlib
, cmake
, imath
}:
stdenv.mkDerivation rec {
pname = "openexr";
version = "3.1.1";
outputs = [ "bin" "dev" "out" "doc" ];
src = fetchFromGitHub {
owner = "AcademySoftwareFoundation";
repo = "openexr";
rev = "v${version}";
sha256 = "1p0l07vfpb25fx6jcgk1747v8x9xgpifx4cvvgi3g2473wlx6pyb";
};
nativeBuildInputs = [ cmake ];
propagatedBuildInputs = [ imath zlib ];
meta = with lib; {
description = "A high dynamic-range (HDR) image file format";
homepage = "https://www.openexr.com/";
license = licenses.bsd3;
maintainers = with maintainers; [ paperdigits ];
platforms = platforms.all;
};
}