Skip to content

Commit 3940405

Browse files
6t8kwegank
authored andcommitted
exiv2: 0.28.0 -> 0.28.1
https://github.com/Exiv2/exiv2/blob/v0.28.1/doc/ChangeLog Fixes CVE-2023-44398 (High). Exiv2/exiv2#2762 is now fixed upstream, so make `checkPhase` run unconditionally again.
1 parent 7aaa664 commit 3940405

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

Diff for: pkgs/development/libraries/exiv2/default.nix

+11-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{ lib
22
, stdenv
33
, fetchFromGitHub
4+
, fetchpatch
45
, cmake
56
, doxygen
67
, gettext
@@ -19,17 +20,24 @@
1920

2021
stdenv.mkDerivation rec {
2122
pname = "exiv2";
22-
version = "0.28.0";
23+
version = "0.28.1";
2324

2425
outputs = [ "out" "lib" "dev" "doc" "man" ];
2526

2627
src = fetchFromGitHub {
2728
owner = "exiv2";
2829
repo = "exiv2";
2930
rev = "v${version}";
30-
hash = "sha256-nEoLJWxSJmAonCbW/iZKjLrKMj09mwEaSUXUcUu8GxU=";
31+
hash = "sha256-Jim8vYWyCa16LAJ1GuP8cCzhXIc2ouo6hVsHg3UQbdg=";
3132
};
3233

34+
patches = [
35+
(fetchpatch {
36+
url = "https://github.com/Exiv2/exiv2/commit/c351c7cce317571934abf693055779a59df30d6e.patch";
37+
hash = "sha256-fWJT4IUBrAELl6ku0M1iTzGFX74le8Z0UzTJLU/gYls=";
38+
})
39+
];
40+
3341
nativeBuildInputs = [
3442
cmake
3543
doxygen
@@ -67,8 +75,7 @@ stdenv.mkDerivation rec {
6775
"doc"
6876
];
6977

70-
# https://github.com/Exiv2/exiv2/issues/2762
71-
doCheck = lib.versionOlder brotli.version "1.1.0";
78+
doCheck = true;
7279

7380
preCheck = ''
7481
patchShebangs ../test/

0 commit comments

Comments
 (0)