mini-calc: 3.3.3 -> 3.3.5 (#372274)
[NixPkgs.git] / pkgs / by-name / li / libwmf / package.nix
blob2511289349db0cd7978668af65f40c8116b3143b
2   lib,
3   stdenv,
4   fetchFromGitHub,
5   pkg-config,
6   freetype,
7   glib,
8   imagemagick,
9   libjpeg,
10   libpng,
11   libxml2,
12   zlib,
15 stdenv.mkDerivation rec {
16   pname = "libwmf";
17   version = "0.2.13";
19   outputs = [
20     "out"
21     "dev"
22   ];
24   src = fetchFromGitHub {
25     owner = "caolanm";
26     repo = pname;
27     rev = "v${version}";
28     sha256 = "sha256-vffohx57OvQKu8DfNXNBm9bPsA8KgkQWs/3mmFn7L6M=";
29   };
31   nativeBuildInputs = [ pkg-config ];
32   buildInputs = [
33     zlib
34     imagemagick
35     libpng
36     glib
37     freetype
38     libjpeg
39     libxml2
40   ];
41   enableParallelBuilding = true;
43   meta = with lib; {
44     description = "WMF library from wvWare";
45     homepage = "https://wvware.sourceforge.net/libwmf.html";
46     downloadPage = "https://github.com/caolanm/libwmf/releases";
47     license = licenses.gpl2Plus;
48     platforms = platforms.unix;
49   };