about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/libwpd/default.nix
blob: 99d81870cce0e1ac45c6d266223e4bd011ef767a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ 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;
  };
}