2019-06-16 20:59:06 +01:00
|
|
|
{ stdenv, fetchFromGitHub, zlib, expat, gettext
|
2018-08-04 18:38:22 +01:00
|
|
|
, autoconf }:
|
2007-10-01 16:12:41 +01:00
|
|
|
|
2009-04-01 10:04:01 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2018-12-30 10:38:19 +00:00
|
|
|
name = "exiv2-0.26.2018.12.30";
|
2015-02-05 11:16:25 +00:00
|
|
|
|
2019-04-22 09:14:28 +01:00
|
|
|
#url = "https://www.exiv2.org/builds/${name}-trunk.tar.gz";
|
2018-08-04 18:38:22 +01:00
|
|
|
src = fetchFromGitHub rec {
|
|
|
|
owner = "exiv2";
|
|
|
|
repo = "exiv2";
|
2018-12-30 10:38:19 +00:00
|
|
|
rev = "f5d0b25"; # https://github.com/Exiv2/exiv2/commits/0.26
|
|
|
|
sha256 = "1blaz3g8dlij881g14nv2nsgr984wy6ypbwgi2pixk978p0gm70i";
|
2009-04-01 10:04:01 +01:00
|
|
|
};
|
2017-12-09 17:44:02 +00:00
|
|
|
|
2015-12-30 15:46:31 +00:00
|
|
|
postPatch = "patchShebangs ./src/svn_version.sh";
|
2015-02-05 11:16:25 +00:00
|
|
|
|
2018-08-04 18:38:22 +01:00
|
|
|
preConfigure = "make config"; # needed because not using tarball
|
|
|
|
|
2016-08-29 01:30:01 +01:00
|
|
|
outputs = [ "out" "dev" ];
|
2016-04-25 12:51:53 +01:00
|
|
|
|
2018-08-04 18:38:22 +01:00
|
|
|
nativeBuildInputs = [
|
|
|
|
gettext
|
|
|
|
autoconf # needed because not using tarball
|
|
|
|
];
|
2015-12-30 15:46:31 +00:00
|
|
|
propagatedBuildInputs = [ zlib expat ];
|
2009-04-01 10:04:01 +01:00
|
|
|
|
2018-08-05 19:14:27 +01:00
|
|
|
meta = with stdenv.lib; {
|
2019-04-22 09:14:28 +01:00
|
|
|
homepage = https://www.exiv2.org/;
|
2009-04-01 10:04:01 +01:00
|
|
|
description = "A library and command-line utility to manage image metadata";
|
2018-08-05 19:14:27 +01:00
|
|
|
platforms = platforms.all;
|
2018-08-06 11:04:52 +01:00
|
|
|
license = licenses.gpl2Plus;
|
2009-04-01 10:04:01 +01:00
|
|
|
};
|
2007-10-01 16:12:41 +01:00
|
|
|
}
|