1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-03 19:15:39 +00:00
nixpkgs/pkgs/development/libraries/libwmf/default.nix
c0bw3b e82c74be5e libwmf: 0.2.8.4 -> 0.2.12
Includes the previous security fixes:
- CVE-2006-3376
- CVE-2009-1364
- CVE-2015-0848+4588+4695+4696

+ fixes CVE-2019-6978 (in libgd)
2019-05-05 17:14:14 +02:00

28 lines
755 B
Nix

{ stdenv, fetchFromGitHub, pkgconfig
, freetype, glib, imagemagick, libjpeg, libpng, libxml2, zlib
}:
stdenv.mkDerivation rec {
pname = "libwmf";
version = "0.2.12";
src = fetchFromGitHub {
owner = "caolanm";
repo = pname;
rev = "v${version}";
sha256 = "0i2w5hg8mbgmgabxyd48qp1gx2mhk33hgr3jqvg72k0nhkd2jhf6";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ zlib imagemagick libpng glib freetype libjpeg libxml2 ];
enableParallelBuilding = true;
meta = with stdenv.lib; {
description = "WMF library from wvWare";
homepage = "http://wvware.sourceforge.net/libwmf.html";
downloadPage = "https://github.com/caolanm/libwmf/releases";
license = licenses.gpl2Plus;
platforms = platforms.unix;
};
}