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

23 lines
639 B
Nix
Raw Normal View History

{stdenv, fetchurl, zlib, expat}:
stdenv.mkDerivation rec {
2013-12-18 14:47:10 +01:00
name = "exiv2-0.23";
src = fetchurl {
url = "http://www.exiv2.org/${name}.tar.gz";
2013-12-18 14:47:10 +01:00
sha256 = "04bbg2cg6mgcyz435zamx37sp5zw44n2alb59ki1daz71f851yl1";
};
propagatedBuildInputs = [zlib expat];
# configure script finds zlib&expat but it thinks that they're in /usr
configureFlags = "--with-zlib=${zlib} --with-expat=${expat}";
meta = {
homepage = http://www.exiv2.org/;
description = "A library and command-line utility to manage image metadata";
maintainers = [stdenv.lib.maintainers.urkud];
platforms = stdenv.lib.platforms.all;
};
}