2015-09-13 12:24:02 +00:00
|
|
|
{ stdenv, fetchurl, boost, pkgconfig, librevenge, zlib }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "libwps";
|
2018-08-19 20:58:29 +00:00
|
|
|
version = "0.4.10";
|
2015-09-13 12:24:02 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 12:41:18 +00:00
|
|
|
url = "mirror://sourceforge/libwps/${pname}-${version}.tar.bz2";
|
2018-08-19 20:58:29 +00:00
|
|
|
sha256 = "1adx2wawl0i16p8df80m6k6a137h709ip4zc0zlzr6wal8gpn0i4";
|
2015-09-13 12:24:02 +00:00
|
|
|
};
|
|
|
|
|
2017-09-05 21:26:13 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ boost librevenge zlib ];
|
2015-09-13 12:24:02 +00:00
|
|
|
|
2018-02-10 11:06:02 +00:00
|
|
|
NIX_CFLAGS_COMPILE = [ "-Wno-error=implicit-fallthrough" ]; # newly detected by gcc-7
|
|
|
|
|
2015-09-13 12:24:02 +00:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = http://libwps.sourceforge.net/;
|
2016-05-24 20:25:02 +00:00
|
|
|
description = "Microsoft Works document format import filter library";
|
2018-11-15 21:50:45 +00:00
|
|
|
platforms = platforms.unix;
|
2015-09-13 12:24:02 +00:00
|
|
|
license = licenses.lgpl21;
|
|
|
|
};
|
|
|
|
}
|