mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 13:57:10 +03:00
exifprobe: init at unstable-2018-06-19
This commit is contained in:
parent
4c07f77124
commit
35f812848e
31
pkgs/tools/graphics/exifprobe/default.nix
Normal file
31
pkgs/tools/graphics/exifprobe/default.nix
Normal file
@ -0,0 +1,31 @@
|
||||
{ stdenv, fetchFromGitHub }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "exifprobe";
|
||||
version = "unstable-2018-06-19";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "hfiguiere";
|
||||
repo = "exifprobe";
|
||||
rev = "ce1ea2bc3dbbe8092b26f41cd89831cafe633d69";
|
||||
sha256 = "1c1fhc0v1m452lgnfcijnvrc0by06qfbhn3zkliqi60kv8l2isbp";
|
||||
};
|
||||
|
||||
CFLAGS = [ "-O2" ];
|
||||
|
||||
installFlags = [ "DESTDIR=$(out)" ];
|
||||
|
||||
postInstall = ''
|
||||
mv $out/usr/bin $out/bin
|
||||
mv $out/usr/share $out/share
|
||||
rm -r $out/usr
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Tool for reading EXIF data from image files produced by digital cameras";
|
||||
homepage = "https://github.com/hfiguiere/exifprobe";
|
||||
license = licenses.bsd2;
|
||||
maintainers = with maintainers; [ siraben ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
@ -3586,6 +3586,8 @@ in
|
||||
|
||||
exif = callPackage ../tools/graphics/exif { };
|
||||
|
||||
exifprobe = callPackage ../tools/graphics/exifprobe { };
|
||||
|
||||
exiftags = callPackage ../tools/graphics/exiftags { };
|
||||
|
||||
exiftool = perlPackages.ImageExifTool;
|
||||
|
Loading…
Reference in New Issue
Block a user