exiv2: 0.28.0 -> 0.28.1

https://github.com/Exiv2/exiv2/blob/v0.28.1/doc/ChangeLog

Fixes CVE-2023-44398 (High).

https://github.com/Exiv2/exiv2/issues/2762 is now fixed upstream, so
make `checkPhase` run unconditionally again.
This commit is contained in:
6t8k 2023-11-08 20:26:10 +01:00 committed by Weijia Wang
parent 7aaa664cc2
commit 39404056ed

View file

@ -1,6 +1,7 @@
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
, cmake
, doxygen
, gettext
@ -19,7 +20,7 @@
stdenv.mkDerivation rec {
pname = "exiv2";
version = "0.28.0";
version = "0.28.1";
outputs = [ "out" "lib" "dev" "doc" "man" ];
@ -27,9 +28,16 @@ stdenv.mkDerivation rec {
owner = "exiv2";
repo = "exiv2";
rev = "v${version}";
hash = "sha256-nEoLJWxSJmAonCbW/iZKjLrKMj09mwEaSUXUcUu8GxU=";
hash = "sha256-Jim8vYWyCa16LAJ1GuP8cCzhXIc2ouo6hVsHg3UQbdg=";
};
patches = [
(fetchpatch {
url = "https://github.com/Exiv2/exiv2/commit/c351c7cce317571934abf693055779a59df30d6e.patch";
hash = "sha256-fWJT4IUBrAELl6ku0M1iTzGFX74le8Z0UzTJLU/gYls=";
})
];
nativeBuildInputs = [
cmake
doxygen
@ -67,8 +75,7 @@ stdenv.mkDerivation rec {
"doc"
];
# https://github.com/Exiv2/exiv2/issues/2762
doCheck = lib.versionOlder brotli.version "1.1.0";
doCheck = true;
preCheck = ''
patchShebangs ../test/