mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
exiftool: format with nixfmt-rfc-style
This commit is contained in:
parent
2a83113cc0
commit
ce523511ce
@ -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 = {
|
||||||
|
Loading…
Reference in New Issue
Block a user