mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 00:43:20 +00:00
exiftool: format with nixfmt-rfc-style
This commit is contained in:
parent
2a83113cc0
commit
ce523511ce
@ -1,11 +1,12 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, buildPerlPackage
|
||||
, exiftool
|
||||
, fetchurl
|
||||
, gitUpdater
|
||||
, shortenPerlShebang
|
||||
, testers
|
||||
{
|
||||
buildPerlPackage,
|
||||
exiftool,
|
||||
fetchurl,
|
||||
gitUpdater,
|
||||
lib,
|
||||
shortenPerlShebang,
|
||||
stdenv,
|
||||
testers,
|
||||
}:
|
||||
|
||||
buildPerlPackage rec {
|
||||
@ -18,6 +19,7 @@ buildPerlPackage rec {
|
||||
};
|
||||
|
||||
nativeBuildInputs = lib.optional stdenv.isDarwin shortenPerlShebang;
|
||||
|
||||
postInstall = lib.optionalString stdenv.isDarwin ''
|
||||
shortenPerlShebang $out/bin/exiftool
|
||||
'';
|
||||
@ -28,9 +30,7 @@ buildPerlPackage rec {
|
||||
command = "${lib.getExe exiftool} -ver";
|
||||
package = exiftool;
|
||||
};
|
||||
updateScript = gitUpdater {
|
||||
url = "https://github.com/exiftool/exiftool.git";
|
||||
};
|
||||
updateScript = gitUpdater { url = "https://github.com/exiftool/exiftool.git"; };
|
||||
};
|
||||
|
||||
meta = {
|
||||
|
Loading…
Reference in New Issue
Block a user