2019-05-05 16:14:14 +01:00
|
|
|
{ stdenv, fetchFromGitHub, pkgconfig
|
|
|
|
, freetype, glib, imagemagick, libjpeg, libpng, libxml2, zlib
|
|
|
|
}:
|
2009-03-03 13:27:40 +00:00
|
|
|
|
2019-05-05 16:14:14 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "libwmf";
|
|
|
|
version = "0.2.12";
|
2007-08-18 10:35:54 +01:00
|
|
|
|
2019-11-20 21:44:25 +00:00
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
|
2019-05-05 16:14:14 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "caolanm";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "0i2w5hg8mbgmgabxyd48qp1gx2mhk33hgr3jqvg72k0nhkd2jhf6";
|
2009-03-03 13:27:40 +00:00
|
|
|
};
|
2007-08-18 10:35:54 +01:00
|
|
|
|
2017-09-05 22:26:13 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ zlib imagemagick libpng glib freetype libjpeg libxml2 ];
|
2019-05-05 16:14:14 +01:00
|
|
|
enableParallelBuilding = true;
|
2015-07-15 22:23:53 +01:00
|
|
|
|
2018-10-23 18:45:41 +01:00
|
|
|
meta = with stdenv.lib; {
|
2009-03-03 13:27:40 +00:00
|
|
|
description = "WMF library from wvWare";
|
2019-05-05 16:14:14 +01:00
|
|
|
homepage = "http://wvware.sourceforge.net/libwmf.html";
|
|
|
|
downloadPage = "https://github.com/caolanm/libwmf/releases";
|
|
|
|
license = licenses.gpl2Plus;
|
2018-10-23 18:45:41 +01:00
|
|
|
platforms = platforms.unix;
|
2007-08-18 10:35:54 +01:00
|
|
|
};
|
|
|
|
}
|