exiftool: move to pkgs/development/perl-modules

This commit is contained in:
Anthony Roussel 2024-03-14 23:56:23 +01:00
parent 392c0a7c85
commit 9e0b98c309
No known key found for this signature in database
GPG Key ID: 9DC4987B1A55E75E
2 changed files with 42 additions and 34 deletions

View File

@ -0,0 +1,41 @@
{ lib
, stdenv
, buildPerlPackage
, fetchurl
, shortenPerlShebang
}:
buildPerlPackage rec {
pname = "Image-ExifTool";
version = "12.70";
src = fetchurl {
url = "https://exiftool.org/Image-ExifTool-${version}.tar.gz";
hash = "sha256-TLJSJEXMPj870TkExq6uraX8Wl4kmNerrSlX3LQsr/4=";
};
nativeBuildInputs = lib.optional stdenv.isDarwin shortenPerlShebang;
postInstall = lib.optionalString stdenv.isDarwin ''
shortenPerlShebang $out/bin/exiftool
'';
meta = {
description = "A tool to read, write and edit EXIF meta information";
longDescription = ''
ExifTool is a platform-independent Perl library plus a command-line
application for reading, writing and editing meta information in a wide
variety of files. ExifTool supports many different metadata formats
including EXIF, GPS, IPTC, XMP, JFIF, GeoTIFF, ICC Profile, Photoshop
IRB, FlashPix, AFCP and ID3, as well as the maker notes of many digital
cameras by Canon, Casio, DJI, FLIR, FujiFilm, GE, GoPro, HP,
JVC/Victor, Kodak, Leaf, Minolta/Konica-Minolta, Motorola, Nikon,
Nintendo, Olympus/Epson, Panasonic/Leica, Pentax/Asahi, Phase One,
Reconyx, Ricoh, Samsung, Sanyo, Sigma/Foveon and Sony.
'';
homepage = "https://exiftool.org/";
changelog = "https://exiftool.org/history.html";
license = with lib.licenses; [ gpl1Plus /* or */ artistic2 ];
maintainers = with lib.maintainers; [ kiloreux anthonyroussel ];
mainProgram = "exiftool";
};
}

View File

@ -13205,40 +13205,7 @@ with self; {
};
};
ImageExifTool = buildPerlPackage rec {
pname = "Image-ExifTool";
version = "12.70";
src = fetchurl {
url = "https://exiftool.org/Image-ExifTool-${version}.tar.gz";
hash = "sha256-TLJSJEXMPj870TkExq6uraX8Wl4kmNerrSlX3LQsr/4=";
};
nativeBuildInputs = lib.optional stdenv.isDarwin shortenPerlShebang;
postInstall = lib.optionalString stdenv.isDarwin ''
shortenPerlShebang $out/bin/exiftool
'';
meta = {
description = "A tool to read, write and edit EXIF meta information";
longDescription = ''
ExifTool is a platform-independent Perl library plus a command-line
application for reading, writing and editing meta information in a wide
variety of files. ExifTool supports many different metadata formats
including EXIF, GPS, IPTC, XMP, JFIF, GeoTIFF, ICC Profile, Photoshop
IRB, FlashPix, AFCP and ID3, as well as the maker notes of many digital
cameras by Canon, Casio, DJI, FLIR, FujiFilm, GE, GoPro, HP,
JVC/Victor, Kodak, Leaf, Minolta/Konica-Minolta, Motorola, Nikon,
Nintendo, Olympus/Epson, Panasonic/Leica, Pentax/Asahi, Phase One,
Reconyx, Ricoh, Samsung, Sanyo, Sigma/Foveon and Sony.
'';
homepage = "https://exiftool.org/";
changelog = "https://exiftool.org/history.html";
license = with lib.licenses; [ gpl1Plus /* or */ artistic2 ];
maintainers = with maintainers; [ kiloreux anthonyroussel ];
mainProgram = "exiftool";
};
};
ImageExifTool = callPackage ../development/perl-modules/ImageExifTool { };
Inline = buildPerlPackage {
pname = "Inline";