2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, boost, pkg-config, librevenge, zlib }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "libwps";
|
2023-03-04 12:14:45 +00:00
|
|
|
version = "0.4.13";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/libwps/${pname}-${version}.tar.bz2";
|
2023-03-04 12:14:45 +00:00
|
|
|
sha256 = "sha256-eVwva90EwLZgrMpRTcc2cAc9PG5wbXbV2GtK2BMpLrk=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [ boost librevenge zlib ];
|
|
|
|
|
2023-03-04 12:14:45 +00:00
|
|
|
env.NIX_CFLAGS_COMPILE = "-Wno-error=implicit-fallthrough";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2023-02-02 18:25:31 +00:00
|
|
|
homepage = "https://libwps.sourceforge.net/";
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Microsoft Works document format import filter library";
|
|
|
|
platforms = platforms.unix;
|
|
|
|
license = licenses.lgpl21;
|
|
|
|
};
|
|
|
|
}
|