2017-11-09 13:49:23 +03:00
|
|
|
{ stdenv, fetchurl, fetchpatch, gettext }:
|
2005-03-11 13:46:20 +03:00
|
|
|
|
2007-11-16 20:28:17 +03:00
|
|
|
stdenv.mkDerivation rec {
|
2012-07-13 20:13:59 +04:00
|
|
|
name = "libexif-0.6.21";
|
2005-03-11 13:46:20 +03:00
|
|
|
|
|
|
|
src = fetchurl {
|
2007-11-16 20:28:17 +03:00
|
|
|
url = "mirror://sourceforge/libexif/${name}.tar.bz2";
|
2012-07-13 20:13:59 +04:00
|
|
|
sha256 = "06nlsibr3ylfwp28w8f5466l6drgrnydgxrm4jmxzrmk5svaxk8n";
|
2005-03-11 13:46:20 +03:00
|
|
|
};
|
|
|
|
|
2017-11-09 13:49:23 +03: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 15:55:54 +04:00
|
|
|
buildInputs = [ gettext ];
|
2010-08-29 17:47:59 +04:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://libexif.sourceforge.net/;
|
2010-08-29 17:49:58 +04:00
|
|
|
description = "A library to read and manipulate EXIF data in digital photographs";
|
2014-06-19 08:19:00 +04:00
|
|
|
license = stdenv.lib.licenses.lgpl21;
|
2016-08-02 20:50:55 +03:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2010-08-29 17:47:59 +04:00
|
|
|
};
|
|
|
|
|
2005-03-11 13:46:20 +03:00
|
|
|
}
|