nixpkgs/pkgs/development/libraries/exiv2/default.nix

23 lines
589 B
Nix
Raw Normal View History

2015-12-30 15:46:31 +00:00
{ stdenv, fetchurl, fetchpatch, zlib, expat, gettext }:
stdenv.mkDerivation rec {
2015-12-30 15:46:31 +00:00
name = "exiv2-0.25";
src = fetchurl {
url = "http://www.exiv2.org/${name}.tar.gz";
2015-12-30 15:46:31 +00:00
sha256 = "197g6vgcpyf9p2cwn5p5hb1r714xsk1v4p96f5pv1z8mi9vzq2y8";
};
2015-12-30 15:46:31 +00:00
postPatch = "patchShebangs ./src/svn_version.sh";
outputs = [ "out" "dev" ];
2016-04-25 11:51:53 +00:00
2015-12-30 15:46:31 +00:00
nativeBuildInputs = [ gettext ];
propagatedBuildInputs = [ zlib expat ];
meta = {
homepage = http://www.exiv2.org/;
description = "A library and command-line utility to manage image metadata";
platforms = stdenv.lib.platforms.all;
};
}