2015-09-13 14:24:02 +02:00
|
|
|
{ stdenv, fetchurl, boost, pkgconfig, librevenge, zlib }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "libwps-${version}";
|
2018-04-26 11:54:03 +02:00
|
|
|
version = "0.4.9";
|
2015-09-13 14:24:02 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2016-05-24 22:25:02 +02:00
|
|
|
url = "mirror://sourceforge/libwps/${name}.tar.bz2";
|
2018-04-26 11:54:03 +02:00
|
|
|
sha256 = "1wn5lvx7c9dp98d9akqjhkv5fk94725hbvqzbjpy1v8y4mm9knb6";
|
2015-09-13 14:24:02 +02:00
|
|
|
};
|
|
|
|
|
2017-09-05 23:26:13 +02:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ boost librevenge zlib ];
|
2015-09-13 14:24:02 +02:00
|
|
|
|
2018-02-10 12:06:02 +01:00
|
|
|
NIX_CFLAGS_COMPILE = [ "-Wno-error=implicit-fallthrough" ]; # newly detected by gcc-7
|
|
|
|
|
2015-09-13 14:24:02 +02:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = http://libwps.sourceforge.net/;
|
2016-05-24 22:25:02 +02:00
|
|
|
description = "Microsoft Works document format import filter library";
|
2015-09-13 14:24:02 +02:00
|
|
|
platforms = platforms.linux;
|
|
|
|
license = licenses.lgpl21;
|
|
|
|
};
|
|
|
|
}
|