2015-12-30 15:46:31 +00:00
|
|
|
{ stdenv, fetchurl, fetchpatch, zlib, expat, gettext }:
|
2007-10-01 16:12:41 +01:00
|
|
|
|
2009-04-01 10:04:01 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2017-07-14 00:29:33 +01:00
|
|
|
name = "exiv2-0.26";
|
2015-02-05 11:16:25 +00:00
|
|
|
|
2009-04-01 10:04:01 +01:00
|
|
|
src = fetchurl {
|
2017-07-14 00:29:33 +01:00
|
|
|
url = "http://www.exiv2.org/builds/${name}-trunk.tar.gz";
|
|
|
|
sha256 = "1yza317qxd8yshvqnay164imm0ks7cvij8y8j86p1gqi1153qpn7";
|
2009-04-01 10:04:01 +01:00
|
|
|
};
|
2015-12-30 15:46:31 +00:00
|
|
|
postPatch = "patchShebangs ./src/svn_version.sh";
|
2015-02-05 11:16:25 +00:00
|
|
|
|
2016-08-29 01:30:01 +01:00
|
|
|
outputs = [ "out" "dev" ];
|
2016-04-25 12:51:53 +01:00
|
|
|
|
2015-12-30 15:46:31 +00:00
|
|
|
nativeBuildInputs = [ gettext ];
|
|
|
|
propagatedBuildInputs = [ zlib expat ];
|
2009-04-01 10:04:01 +01: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
|
|
|
platforms = stdenv.lib.platforms.all;
|
2009-04-01 10:04:01 +01:00
|
|
|
};
|
2007-10-01 16:12:41 +01:00
|
|
|
}
|