nixpkgs/pkgs/tools/graphics/exifprobe/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

32 lines
782 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub }:
2020-10-27 05:55:39 +00:00
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 lib; {
2020-10-27 05:55:39 +00:00
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;
};
}