diff options
author | Ben Siraphob <bensiraphob@gmail.com> | 2020-10-27 12:55:39 +0700 |
---|---|---|
committer | Ben Siraphob <bensiraphob@gmail.com> | 2020-10-27 22:53:13 +0700 |
commit | 35f812848eb988736c965f3d32380c7846483c82 (patch) | |
tree | a3e1820037c60f1e11828ca1b7e0346e7a88b18a | |
parent | 4c07f77124b52806f43a8223f90c21313705438f (diff) |
exifprobe: init at unstable-2018-06-19
-rw-r--r-- | pkgs/tools/graphics/exifprobe/default.nix | 31 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
2 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/tools/graphics/exifprobe/default.nix b/pkgs/tools/graphics/exifprobe/default.nix new file mode 100644 index 000000000000..93a9be58b72a --- /dev/null +++ b/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"; + 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; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 5f1cb87dcc5c..3e29adc249be 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3586,6 +3586,8 @@ in exif = callPackage ../tools/graphics/exif { }; + exifprobe = callPackage ../tools/graphics/exifprobe { }; + exiftags = callPackage ../tools/graphics/exiftags { }; exiftool = perlPackages.ImageExifTool; |