nixpkgs/pkgs/tools/graphics/exif/default.nix
2021-01-17 23:27:27 +07:00

20 lines
570 B
Nix

{ lib, stdenv, fetchurl, pkg-config, libexif, popt, libintl }:
stdenv.mkDerivation rec {
name = "exif-0.6.21";
src = fetchurl {
url = "mirror://sourceforge/libexif/${name}.tar.bz2";
sha256 = "1zb9hwdl783d4vd2s2rw642hg8hd6n0mfp6lrbiqmp9jmhlq5rsr";
};
nativeBuildInputs = [ 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.lgpl21;
};
}