about summary refs log tree commit diff
path: root/pkgs/development/libraries/libwps/default.nix
blob: 798284c3b89a7e4777c6eaac78a083bd40a55807 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ stdenv, fetchurl, boost, pkgconfig, librevenge, zlib }:

let version = "0.4.2"; in
stdenv.mkDerivation rec {
  name = "libwps-${version}";

  src = fetchurl {
    url = "mirror://sourceforge/libwps/${name}.tar.gz";
    sha256 = "0c90i3zafxxsj989bd9bs577blx3mrb90rj52iv6ijc4qivi4wkr";
  };

  buildInputs = [ boost pkgconfig librevenge zlib ];

  meta = with stdenv.lib; {
    inherit version;
    homepage = http://libwps.sourceforge.net/;
    description = "Microsoft Works file word processor format import filter library";
    platforms = platforms.linux;
    license = licenses.lgpl21;
  };
}