nixpkgs/pkgs/development/libraries/libwpg/default.nix
2024-01-21 07:04:25 +00:00

21 lines
590 B
Nix

{ lib, stdenv, fetchurl, pkg-config, libwpd, zlib, librevenge, boost }:
stdenv.mkDerivation rec {
pname = "libwpg";
version = "0.3.4";
src = fetchurl {
url = "mirror://sourceforge/libwpg/${pname}-${version}.tar.xz";
hash = "sha256-tV/alEDR4HBjDrJIfYuGl89BLCFKJ8runfac7HwATeM=";
};
buildInputs = [ libwpd zlib librevenge boost ];
nativeBuildInputs = [ pkg-config ];
meta = with lib; {
homepage = "https://libwpg.sourceforge.net";
description = "C++ library to parse WPG";
license = with licenses; [ lgpl21 mpl20 ];
platforms = platforms.all;
};
}