2495e3f88b
GitOrigin-RevId: 78cd22c1b8604de423546cd49bfe264b786eca13
32 lines
685 B
Nix
32 lines
685 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, zlib
|
|
, cmake
|
|
, imath
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "openexr";
|
|
version = "3.1.3";
|
|
|
|
outputs = [ "bin" "dev" "out" "doc" ];
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "AcademySoftwareFoundation";
|
|
repo = "openexr";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-Bi6yTcZBWTsWWMm3A7FVYblvSXKLSkHmhGvpNYGiOzE=";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|