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