nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 68 lines 1.8 kB view raw
1{ 2 buildPerlPackage, 3 fetchFromGitHub, 4 gitUpdater, 5 lib, 6 versionCheckHook, 7 ArchiveZip, 8 CompressRawLzma, 9 IOCompress, 10 IOCompressBrotli, 11}: 12 13buildPerlPackage rec { 14 pname = "Image-ExifTool"; 15 version = "13.39"; 16 17 src = fetchFromGitHub { 18 owner = "exiftool"; 19 repo = "exiftool"; 20 tag = version; 21 hash = "sha256-GPm3HOt7fNMbXRrV5V+ykJAfhww1O6NrD0l/7hA2i28="; 22 }; 23 24 postPatch = '' 25 patchShebangs exiftool 26 ''; 27 28 propagatedBuildInputs = [ 29 ArchiveZip 30 CompressRawLzma 31 IOCompress 32 IOCompressBrotli 33 ]; 34 35 doInstallCheck = true; 36 nativeInstallCheckInputs = [ versionCheckHook ]; 37 versionCheckProgramArg = "-ver"; 38 39 passthru = { 40 updateScript = gitUpdater { }; 41 }; 42 43 meta = { 44 description = "Tool to read, write and edit EXIF meta information"; 45 longDescription = '' 46 ExifTool is a platform-independent Perl library plus a command-line 47 application for reading, writing and editing meta information in a wide 48 variety of files. ExifTool supports many different metadata formats 49 including EXIF, GPS, IPTC, XMP, JFIF, GeoTIFF, ICC Profile, Photoshop 50 IRB, FlashPix, AFCP and ID3, as well as the maker notes of many digital 51 cameras by Canon, Casio, DJI, FLIR, FujiFilm, GE, GoPro, HP, 52 JVC/Victor, Kodak, Leaf, Minolta/Konica-Minolta, Motorola, Nikon, 53 Nintendo, Olympus/Epson, Panasonic/Leica, Pentax/Asahi, Phase One, 54 Reconyx, Ricoh, Samsung, Sanyo, Sigma/Foveon and Sony. 55 ''; 56 homepage = "https://exiftool.org/"; 57 changelog = "https://exiftool.org/history.html"; 58 license = with lib.licenses; [ 59 gpl1Plus # or 60 artistic2 61 ]; 62 maintainers = with lib.maintainers; [ 63 kiloreux 64 anthonyroussel 65 ]; 66 mainProgram = "exiftool"; 67 }; 68}