depot/third_party/nixpkgs/pkgs/tools/graphics/exif/default.nix
Default email 9405df4a82 Project import generated by Copybara.
GitOrigin-RevId: 8e4fe32876ca15e3d5eb3ecd3ca0b224417f5f17
2021-04-26 15:14:03 -04:00

23 lines
695 B
Nix

{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, libexif, popt, libintl }:
stdenv.mkDerivation rec {
pname = "exif";
version = "0.6.22";
src = fetchFromGitHub {
owner = "libexif";
repo = pname;
rev = "${pname}-${builtins.replaceStrings ["."] ["_"] version}-release";
sha256 = "1xlb1gdwxm3rmw7vlrynhvjp9dkwmvw23mxisdbdmma7ah2nda3i";
};
nativeBuildInputs = [ autoreconfHook pkg-config ];
buildInputs = [ libexif popt libintl ];
meta = with lib; {
homepage = "https://libexif.github.io";
description = "A utility to read and manipulate EXIF data in digital photographs";
platforms = platforms.unix;
license = licenses.lgpl21Plus;
};
}