summary refs log tree commit diff
path: root/pkgs/tools/graphics/exif/default.nix
blob: 130e2d961244327d464480b3997f27c1d2ef4a1c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ 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;
  };
}