2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchurl, boost, pkg-config, librevenge, zlib }:
|
2015-09-13 12:24:02 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "libwps";
|
2023-01-08 04:33:11 +00:00
|
|
|
version = "0.4.13";
|
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";
|
2023-01-08 04:33:11 +00:00
|
|
|
sha256 = "sha256-eVwva90EwLZgrMpRTcc2cAc9PG5wbXbV2GtK2BMpLrk=";
|
2015-09-13 12:24:02 +00:00
|
|
|
};
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2017-09-05 21:26:13 +00:00
|
|
|
buildInputs = [ boost librevenge zlib ];
|
2015-09-13 12:24:02 +00:00
|
|
|
|
2023-02-19 19:23:32 +00:00
|
|
|
env.NIX_CFLAGS_COMPILE = "-Wno-error=implicit-fallthrough";
|
2018-02-10 11:06:02 +00:00
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2023-01-21 21:41:12 +00:00
|
|
|
homepage = "https://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;
|
|
|
|
};
|
|
|
|
}
|