From 9302989be1d111b58764d264dc6d15fef173bfaf Mon Sep 17 00:00:00 2001 From: "Yury G. Kudryashov" Date: Mon, 13 Dec 2010 18:10:26 +0000 Subject: [PATCH] exiv2-0.21 svn path=/nixpkgs/trunk/; revision=25102 --- pkgs/development/libraries/exiv2/default.nix | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/pkgs/development/libraries/exiv2/default.nix b/pkgs/development/libraries/exiv2/default.nix index 676f021a7209..5cb04c80a45e 100644 --- a/pkgs/development/libraries/exiv2/default.nix +++ b/pkgs/development/libraries/exiv2/default.nix @@ -1,19 +1,22 @@ -{stdenv, fetchurl, zlib}: +{stdenv, fetchurl, zlib, expat}: stdenv.mkDerivation rec { - name = "exiv2-0.18"; + name = "exiv2-0.21"; src = fetchurl { url = "http://www.exiv2.org/${name}.tar.gz"; - sha256 = "1kg4bdlcqqhw9gcfs68i55sz4hvlf94xxxmqb255hhvhfj692rz5"; + sha256 = "1r9phzb1h9v8smw1pix2k9lyr44n4nyba15x7qh45c0pwsjdf9yq"; }; - buildInputs = [zlib]; + propagatedBuildInputs = [zlib expat]; - configureFlags = "--with-zlib=${zlib} --disable-xmp"; +# 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; }; }