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