2021-01-21 18:00:13 +01:00
|
|
|
{ lib, stdenv, fetchurl, boost, pkg-config, librevenge, zlib }:
|
2015-09-13 14:24:02 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "libwps";
|
2023-06-12 20:21:11 +02:00
|
|
|
version = "0.4.14";
|
2015-09-13 14:24:02 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 14:41:18 +02:00
|
|
|
url = "mirror://sourceforge/libwps/${pname}-${version}.tar.bz2";
|
2023-06-12 20:21:11 +02:00
|
|
|
sha256 = "sha256-xVEdlAngO446F50EZcHMKW7aBvyDcTVu9Egs2oaIadE=";
|
2015-09-13 14:24:02 +02:00
|
|
|
};
|
|
|
|
|
2021-01-19 07:50:56 +01:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2017-09-05 23:26:13 +02:00
|
|
|
buildInputs = [ boost librevenge zlib ];
|
2015-09-13 14:24:02 +02:00
|
|
|
|
2023-02-19 20:23:32 +01:00
|
|
|
env.NIX_CFLAGS_COMPILE = "-Wno-error=implicit-fallthrough";
|
2018-02-10 12:06:02 +01:00
|
|
|
|
2021-01-21 18:00:13 +01:00
|
|
|
meta = with lib; {
|
2023-01-21 22:41:12 +01:00
|
|
|
homepage = "https://libwps.sourceforge.net/";
|
2016-05-24 22:25:02 +02:00
|
|
|
description = "Microsoft Works document format import filter library";
|
2018-11-15 22:50:45 +01:00
|
|
|
platforms = platforms.unix;
|
2015-09-13 14:24:02 +02:00
|
|
|
license = licenses.lgpl21;
|
|
|
|
};
|
|
|
|
}
|