depot/third_party/nixpkgs/pkgs/development/libraries/libwpg/default.nix
Default email c7cb07f092 Project import generated by Copybara.
GitOrigin-RevId: 1536926ef5621b09bba54035ae2bb6d806d72ac8
2024-02-29 21:09:43 +01: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;
};
}