depot/third_party/nixpkgs/pkgs/development/libraries/libwpd/default.nix
Default email c7cb07f092 Project import generated by Copybara.
GitOrigin-RevId: 1536926ef5621b09bba54035ae2bb6d806d72ac8
2024-02-29 21:09:43 +01:00

24 lines
673 B
Nix

{ lib, stdenv, fetchurl, zlib, pkg-config, glib, libgsf, libxml2, librevenge, boost }:
stdenv.mkDerivation rec {
pname = "libwpd";
version = "0.10.3";
src = fetchurl {
url = "mirror://sourceforge/libwpd/libwpd-${version}.tar.xz";
hash = "sha256-JGWwtmL9xdTjvrzcmnkCdxP7Ypyiv/BKPJJR/exC3Qk=";
};
patches = [ ./gcc-1.0.patch ];
buildInputs = [ glib libgsf libxml2 zlib librevenge boost ];
nativeBuildInputs = [ pkg-config ];
meta = with lib; {
description = "A library for importing and exporting WordPerfect documents";
homepage = "https://libwpd.sourceforge.net/";
license = licenses.lgpl21;
platforms = platforms.unix;
};
}