exiftool: add missing dependencies
This commit is contained in:
@@ -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
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user