exiv2: 0.28.1 -> 0.28.2

This commit is contained in:
Weijia Wang 2024-02-15 07:12:09 +01:00
parent f893cc7daa
commit 51f50fc72c

View File

@ -20,7 +20,7 @@
stdenv.mkDerivation rec {
pname = "exiv2";
version = "0.28.1";
version = "0.28.2";
outputs = [ "out" "lib" "dev" "doc" "man" ];
@ -28,16 +28,9 @@ stdenv.mkDerivation rec {
owner = "exiv2";
repo = "exiv2";
rev = "v${version}";
hash = "sha256-Jim8vYWyCa16LAJ1GuP8cCzhXIc2ouo6hVsHg3UQbdg=";
hash = "sha256-0TgvIiuHMeohStIwmHOq4yvTj2H07wyx4w3iIdkrLTc=";
};
patches = [
(fetchpatch {
url = "https://github.com/Exiv2/exiv2/commit/c351c7cce317571934abf693055779a59df30d6e.patch";
hash = "sha256-fWJT4IUBrAELl6ku0M1iTzGFX74le8Z0UzTJLU/gYls=";
})
];
nativeBuildInputs = [
cmake
doxygen
@ -94,7 +87,7 @@ stdenv.mkDerivation rec {
'';
preFixup = ''
remove-references-to -t ${stdenv.cc.cc} $lib/lib/*.so.*.*.* $out/bin/exiv2 $static/lib/*.a
remove-references-to -t ${stdenv.cc.cc} $lib/lib/*.so.*.*.* $out/bin/exiv2
'';
disallowedReferences = [ stdenv.cc.cc ];