nixpkgs/pkgs/development/libraries/libexif/default.nix
Justin Humm e761cfe50a libexif: 0.6.21 -> 0.6.22
Also:
- build from git
- enable cross compilation
2020-06-04 18:23:15 +02:00

25 lines
673 B
Nix

{ stdenv, fetchFromGitHub, autoreconfHook, gettext }:
stdenv.mkDerivation rec {
pname = "libexif";
version = "0.6.22";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = "${pname}-${builtins.replaceStrings ["."] ["_"] version}-release";
sha256 = "0mzndakdi816zcs13z7yzp7hj031p2dcyfq2p391r63d9z21jmy1";
};
nativeBuildInputs = [ autoreconfHook gettext ];
meta = with stdenv.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 ];
};
}