2017-11-09 10:49:23 +00:00
|
|
|
{ stdenv, fetchurl, fetchpatch, gettext }:
|
2005-03-11 10:46:20 +00:00
|
|
|
|
2007-11-16 17:28:17 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2012-07-13 17:13:59 +01:00
|
|
|
name = "libexif-0.6.21";
|
2005-03-11 10:46:20 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2007-11-16 17:28:17 +00:00
|
|
|
url = "mirror://sourceforge/libexif/${name}.tar.bz2";
|
2012-07-13 17:13:59 +01:00
|
|
|
sha256 = "06nlsibr3ylfwp28w8f5466l6drgrnydgxrm4jmxzrmk5svaxk8n";
|
2005-03-11 10:46:20 +00:00
|
|
|
};
|
|
|
|
|
2017-11-09 10:49:23 +00:00
|
|
|
patches = [
|
|
|
|
(fetchpatch {
|
|
|
|
name = "CVE-2017-7544.patch";
|
|
|
|
url = https://sourceforge.net/p/libexif/bugs/_discuss/thread/fc394c4b/489a/attachment/xx.pat;
|
|
|
|
sha256 = "1qgk8hgnxr8d63jsc4vljxz9yg33mbml280dq4a6050rmk9wq4la";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
patchFlags = "-p0";
|
|
|
|
|
2010-07-28 12:55:54 +01:00
|
|
|
buildInputs = [ gettext ];
|
2010-08-29 14:47:59 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://libexif.sourceforge.net/;
|
2010-08-29 14:49:58 +01:00
|
|
|
description = "A library to read and manipulate EXIF data in digital photographs";
|
2014-06-19 05:19:00 +01:00
|
|
|
license = stdenv.lib.licenses.lgpl21;
|
2016-08-02 18:50:55 +01:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2010-08-29 14:47:59 +01:00
|
|
|
};
|
|
|
|
|
2005-03-11 10:46:20 +00:00
|
|
|
}
|