Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

exifprobe: init at unstable-2018-06-19 #101822

Merged
merged 1 commit into from Nov 26, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
31 changes: 31 additions & 0 deletions pkgs/tools/graphics/exifprobe/default.nix
@@ -0,0 +1,31 @@
{ stdenv, fetchFromGitHub }:

stdenv.mkDerivation rec {
pname = "exifprobe";
version = "unstable-2018-06-19";

src = fetchFromGitHub {
owner = "hfiguiere";
repo = "exifprobe";
rev = "ce1ea2bc3dbbe8092b26f41cd89831cafe633d69";
siraben marked this conversation as resolved.
Show resolved Hide resolved
sha256 = "1c1fhc0v1m452lgnfcijnvrc0by06qfbhn3zkliqi60kv8l2isbp";
};

CFLAGS = [ "-O2" ];

installFlags = [ "DESTDIR=$(out)" ];

postInstall = ''
mv $out/usr/bin $out/bin
SuperSandro2000 marked this conversation as resolved.
Show resolved Hide resolved
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 ];
siraben marked this conversation as resolved.
Show resolved Hide resolved
platforms = platforms.unix;
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Expand Up @@ -3586,6 +3586,8 @@ in

exif = callPackage ../tools/graphics/exif { };

exifprobe = callPackage ../tools/graphics/exifprobe { };

exiftags = callPackage ../tools/graphics/exiftags { };

exiftool = perlPackages.ImageExifTool;
Expand Down