2021-04-24 09:08:50 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, libexif, popt, libintl }:
|
2005-03-11 10:46:20 +00:00
|
|
|
|
2012-07-13 16:13:59 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2021-04-24 09:08:50 +00:00
|
|
|
pname = "exif";
|
|
|
|
version = "0.6.22";
|
2005-03-11 10:46:20 +00:00
|
|
|
|
2021-04-24 09:08:50 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "libexif";
|
|
|
|
repo = pname;
|
|
|
|
rev = "${pname}-${builtins.replaceStrings ["."] ["_"] version}-release";
|
|
|
|
sha256 = "1xlb1gdwxm3rmw7vlrynhvjp9dkwmvw23mxisdbdmma7ah2nda3i";
|
2005-03-11 10:46:20 +00:00
|
|
|
};
|
|
|
|
|
2021-04-24 09:08:50 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
2018-03-14 19:15:06 +00:00
|
|
|
buildInputs = [ libexif popt libintl ];
|
2016-06-09 01:11:03 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://libexif.github.io";
|
2012-07-13 16:13:59 +00:00
|
|
|
description = "A utility to read and manipulate EXIF data in digital photographs";
|
2018-09-11 21:25:43 +00:00
|
|
|
platforms = platforms.unix;
|
2021-04-24 09:08:50 +00:00
|
|
|
license = licenses.lgpl21Plus;
|
2012-07-13 16:13:59 +00:00
|
|
|
};
|
2005-03-11 10:46:20 +00:00
|
|
|
}
|