23 lines
639 B
Nix
23 lines
639 B
Nix
{stdenv, fetchurl, zlib, expat}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "exiv2-0.24";
|
|
|
|
src = fetchurl {
|
|
url = "http://www.exiv2.org/${name}.tar.gz";
|
|
sha256 = "13pgvz14kyapxl89pxjaq3274k56d5lzfckpg1g9z7gvqzk4797l";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|