11 buildPerlPackage rec {
12 pname = "Image-ExifTool";
16 url = "https://exiftool.org/Image-ExifTool-${version}.tar.gz";
17 hash = "sha256-1MfWz0AR+SaM2Ar7gAfLs38OJhOnP4cRekpe1uSjDD4=";
20 nativeBuildInputs = lib.optional stdenv.isDarwin shortenPerlShebang;
21 postInstall = lib.optionalString stdenv.isDarwin ''
22 shortenPerlShebang $out/bin/exiftool
26 tests.version = testers.testVersion {
28 command = "${lib.getExe exiftool} -ver";
31 updateScript = gitUpdater {
32 url = "https://github.com/exiftool/exiftool.git";
37 description = "A tool to read, write and edit EXIF meta information";
39 ExifTool is a platform-independent Perl library plus a command-line
40 application for reading, writing and editing meta information in a wide
41 variety of files. ExifTool supports many different metadata formats
42 including EXIF, GPS, IPTC, XMP, JFIF, GeoTIFF, ICC Profile, Photoshop
43 IRB, FlashPix, AFCP and ID3, as well as the maker notes of many digital
44 cameras by Canon, Casio, DJI, FLIR, FujiFilm, GE, GoPro, HP,
45 JVC/Victor, Kodak, Leaf, Minolta/Konica-Minolta, Motorola, Nikon,
46 Nintendo, Olympus/Epson, Panasonic/Leica, Pentax/Asahi, Phase One,
47 Reconyx, Ricoh, Samsung, Sanyo, Sigma/Foveon and Sony.
49 homepage = "https://exiftool.org/";
50 changelog = "https://exiftool.org/history.html";
51 license = with lib.licenses; [ gpl1Plus /* or */ artistic2 ];
52 maintainers = with lib.maintainers; [ kiloreux anthonyroussel ];
53 mainProgram = "exiftool";