mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 10:56:53 +00:00
21f17d69f6
Build-tested on x86_64 Linux & Mac.
24 lines
602 B
Nix
24 lines
602 B
Nix
{ stdenv, fetchurl, zlib, imagemagick, libpng, pkgconfig, glib, freetype
|
|
, libjpeg, libxml2 }:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "libwmf-0.2.8.4";
|
|
|
|
src = fetchurl {
|
|
url = mirror://sourceforge/wvware/libwmf-0.2.8.4.tar.gz;
|
|
sha256 = "1y3wba4q8pl7kr51212jwrsz1x6nslsx1gsjml1x0i8549lmqd2v";
|
|
};
|
|
|
|
buildInputs = [ zlib imagemagick libpng pkgconfig glib freetype libjpeg libxml2 ];
|
|
|
|
patches = [
|
|
./CVE-2006-3376.patch ./CVE-2009-1364.patch
|
|
./CVE-2015-0848+4588+4695+4696.patch
|
|
];
|
|
|
|
meta = {
|
|
description = "WMF library from wvWare";
|
|
platforms = stdenv.lib.platforms.unix;
|
|
};
|
|
}
|