2015-09-13 13:24:02 +01:00
|
|
|
{ stdenv, fetchurl, boost, pkgconfig, librevenge, zlib }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "libwps";
|
2020-09-24 05:28:58 +01:00
|
|
|
version = "0.4.12";
|
2015-09-13 13:24:02 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 13:41:18 +01:00
|
|
|
url = "mirror://sourceforge/libwps/${pname}-${version}.tar.bz2";
|
2020-09-24 05:28:58 +01:00
|
|
|
sha256 = "16c6vq6hhi5lcvgyb9dwarr3kz69l1g5fs39b2hwqhkwzx5igpcl";
|
2015-09-13 13:24:02 +01:00
|
|
|
};
|
|
|
|
|
2017-09-05 22:26:13 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ boost librevenge zlib ];
|
2015-09-13 13:24:02 +01:00
|
|
|
|
2019-10-30 02:23:29 +00:00
|
|
|
NIX_CFLAGS_COMPILE = "-Wno-error=implicit-fallthrough";
|
2018-02-10 11:06:02 +00:00
|
|
|
|
2015-09-13 13:24:02 +01:00
|
|
|
meta = with stdenv.lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://libwps.sourceforge.net/";
|
2016-05-24 21:25:02 +01:00
|
|
|
description = "Microsoft Works document format import filter library";
|
2018-11-15 21:50:45 +00:00
|
|
|
platforms = platforms.unix;
|
2015-09-13 13:24:02 +01:00
|
|
|
license = licenses.lgpl21;
|
|
|
|
};
|
|
|
|
}
|