1 { lib, stdenv, fetchFromGitHub, pkg-config
2 , freetype, glib, imagemagick, libjpeg, libpng, libxml2, zlib
5 stdenv.mkDerivation rec {
9 outputs = [ "out" "dev" ];
11 src = fetchFromGitHub {
15 sha256 = "sha256-vffohx57OvQKu8DfNXNBm9bPsA8KgkQWs/3mmFn7L6M=";
18 nativeBuildInputs = [ pkg-config ];
19 buildInputs = [ zlib imagemagick libpng glib freetype libjpeg libxml2 ];
20 enableParallelBuilding = true;
23 description = "WMF library from wvWare";
24 homepage = "https://wvware.sourceforge.net/libwmf.html";
25 downloadPage = "https://github.com/caolanm/libwmf/releases";
26 license = licenses.gpl2Plus;
27 platforms = platforms.unix;