Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / libraries / libwmf / default.nix
blobb42e09894db8ff7368463be887f272d54a66bd88
1 { lib, stdenv, fetchFromGitHub, pkg-config
2 , freetype, glib, imagemagick, libjpeg, libpng, libxml2, zlib
3 }:
5 stdenv.mkDerivation rec {
6   pname = "libwmf";
7   version = "0.2.13";
9   outputs = [ "out" "dev" ];
11   src = fetchFromGitHub {
12     owner = "caolanm";
13     repo = pname;
14     rev = "v${version}";
15     sha256 = "sha256-vffohx57OvQKu8DfNXNBm9bPsA8KgkQWs/3mmFn7L6M=";
16   };
18   nativeBuildInputs = [ pkg-config ];
19   buildInputs = [ zlib imagemagick libpng glib freetype libjpeg libxml2 ];
20   enableParallelBuilding = true;
22   meta = with lib; {
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;
28   };