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