exiftool: add missing dependencies

This commit is contained in:
Anthony ROUSSEL
2025-10-29 20:11:23 +01:00
parent 6989940559
commit ab00384006
@@ -6,6 +6,10 @@
shortenPerlShebang,
stdenv,
versionCheckHook,
ArchiveZip,
CompressRawLzma,
IOCompress,
IOCompressBrotli,
}:
buildPerlPackage rec {
@@ -19,12 +23,19 @@ buildPerlPackage rec {
hash = "sha256-GPm3HOt7fNMbXRrV5V+ykJAfhww1O6NrD0l/7hA2i28=";
};
nativeBuildInputs = lib.optional stdenv.hostPlatform.isDarwin shortenPerlShebang;
postPatch = ''
patchShebangs exiftool
'';
nativeBuildInputs = lib.optional stdenv.hostPlatform.isDarwin shortenPerlShebang;
propagatedBuildInputs = [
ArchiveZip
CompressRawLzma
IOCompress
IOCompressBrotli
];
postInstall = lib.optionalString stdenv.hostPlatform.isDarwin ''
shortenPerlShebang $out/bin/exiftool
'';