Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
36 lines
785 B
Nix
36 lines
785 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
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; {
|
|
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;
|
|
};
|
|
}
|