nixpkgs/pkgs/development/libraries/libexif/default.nix
2021-11-25 15:28:05 +01:00

25 lines
670 B
Nix

{ lib, stdenv, fetchFromGitHub, autoreconfHook, gettext }:
stdenv.mkDerivation rec {
pname = "libexif";
version = "0.6.24";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = "${pname}-${builtins.replaceStrings ["."] ["_"] version}-release";
sha256 = "sha256-Eqgnm31s8iPJdhTpk5HM89HSZTXTK+e7YZ/CCdbeJX4=";
};
nativeBuildInputs = [ autoreconfHook gettext ];
meta = with lib; {
homepage = "https://libexif.github.io/";
description = "A library to read and manipulate EXIF data in digital photographs";
license = licenses.lgpl21;
platforms = platforms.unix;
maintainers = with maintainers; [ erictapen ];
};
}