exiftool: format with nixfmt-rfc-style

This commit is contained in:
Anthony Roussel 2024-05-07 15:58:34 +02:00
parent 2a83113cc0
commit ce523511ce
No known key found for this signature in database
GPG Key ID: 9DC4987B1A55E75E

View File

@ -1,11 +1,12 @@
{ lib {
, stdenv buildPerlPackage,
, buildPerlPackage exiftool,
, exiftool fetchurl,
, fetchurl gitUpdater,
, gitUpdater lib,
, shortenPerlShebang shortenPerlShebang,
, testers stdenv,
testers,
}: }:
buildPerlPackage rec { buildPerlPackage rec {
@ -18,6 +19,7 @@ buildPerlPackage rec {
}; };
nativeBuildInputs = lib.optional stdenv.isDarwin shortenPerlShebang; nativeBuildInputs = lib.optional stdenv.isDarwin shortenPerlShebang;
postInstall = lib.optionalString stdenv.isDarwin '' postInstall = lib.optionalString stdenv.isDarwin ''
shortenPerlShebang $out/bin/exiftool shortenPerlShebang $out/bin/exiftool
''; '';
@ -28,9 +30,7 @@ buildPerlPackage rec {
command = "${lib.getExe exiftool} -ver"; command = "${lib.getExe exiftool} -ver";
package = exiftool; package = exiftool;
}; };
updateScript = gitUpdater { updateScript = gitUpdater { url = "https://github.com/exiftool/exiftool.git"; };
url = "https://github.com/exiftool/exiftool.git";
};
}; };
meta = { meta = {