1{ lib, stdenv, fetchFromGitHub, autoreconfHook, gettext }:
2
3stdenv.mkDerivation rec {
4 pname = "libexif";
5 version = "0.6.24";
6
7 src = fetchFromGitHub {
8 owner = pname;
9 repo = pname;
10 rev = "${pname}-${builtins.replaceStrings ["."] ["_"] version}-release";
11 sha256 = "sha256-Eqgnm31s8iPJdhTpk5HM89HSZTXTK+e7YZ/CCdbeJX4=";
12 };
13
14 nativeBuildInputs = [ autoreconfHook gettext ];
15
16 meta = with lib; {
17 homepage = "https://libexif.github.io/";
18 description = "A library to read and manipulate EXIF data in digital photographs";
19 license = licenses.lgpl21;
20 platforms = platforms.unix;
21 maintainers = with maintainers; [ erictapen ];
22 };
23
24}