3
0
Fork 0
forked from mirrors/nixpkgs

openexr_3: 3.1.3 -> 3.1.5

This commit is contained in:
Jonas Heinrich 2022-07-24 13:53:20 +02:00 committed by Yt
parent cd56fc47c6
commit f35c51c47c

View file

@ -9,24 +9,16 @@
stdenv.mkDerivation rec {
pname = "openexr";
version = "3.1.3";
outputs = [ "bin" "dev" "out" "doc" ];
version = "3.1.5";
src = fetchFromGitHub {
owner = "AcademySoftwareFoundation";
repo = "openexr";
rev = "v${version}";
sha256 = "sha256-Bi6yTcZBWTsWWMm3A7FVYblvSXKLSkHmhGvpNYGiOzE=";
sha256 = "sha256-mmzrMCYyAAa1z8fLZVbaTL1TZzdRaRTLgK+wzPuH4tg=";
};
patches = [
(fetchpatch {
name = "CVE-2021-45942.patch";
url = "https://github.com/AcademySoftwareFoundation/openexr/commit/11cad77da87c4fa2aab7d58dd5339e254db7937e.patch";
sha256 = "1qa8662ga5i0lyfi9mkj9s9bygdg7h1i6ahki28c664kxrlsakch";
})
];
outputs = [ "bin" "dev" "out" "doc" ];
# tests are determined to use /var/tmp on unix
postPatch = ''
@ -35,14 +27,20 @@ stdenv.mkDerivation rec {
done
'';
nativeBuildInputs = [ cmake ];
propagatedBuildInputs = [ imath zlib ];
nativeBuildInputs = [
cmake
];
propagatedBuildInputs = [
imath
zlib
];
doCheck = true;
meta = with lib; {
description = "A high dynamic-range (HDR) image file format";
homepage = "https://www.openexr.com/";
homepage = "https://www.openexr.com";
license = licenses.bsd3;
maintainers = with maintainers; [ paperdigits ];
platforms = platforms.all;