depot/third_party/nixpkgs/pkgs/development/libraries/openexr/3.nix
Default email 5e2a688410 Project import generated by Copybara.
GitOrigin-RevId: 5e2018f7b383aeca6824a30c0cd1978c9532a46a
2021-10-06 10:57:05 -03:00

32 lines
686 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, zlib
, cmake
, imath
}:
stdenv.mkDerivation rec {
pname = "openexr";
version = "3.1.2";
outputs = [ "bin" "dev" "out" "doc" ];
src = fetchFromGitHub {
owner = "AcademySoftwareFoundation";
repo = "openexr";
rev = "v${version}";
sha256 = "0vyclrrikphwkkpyjg8kzh3qzflzk3d6xsidgqllgfdgllr9wmgv";
};
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;
};
}