9c6ee729d6
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
23 lines
657 B
Nix
23 lines
657 B
Nix
{ lib, stdenv, fetchurl, boost, pkg-config, librevenge, zlib }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "libwps";
|
|
version = "0.4.14";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/libwps/${pname}-${version}.tar.bz2";
|
|
sha256 = "sha256-xVEdlAngO446F50EZcHMKW7aBvyDcTVu9Egs2oaIadE=";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
buildInputs = [ boost librevenge zlib ];
|
|
|
|
env.NIX_CFLAGS_COMPILE = "-Wno-error=implicit-fallthrough";
|
|
|
|
meta = with lib; {
|
|
homepage = "https://libwps.sourceforge.net/";
|
|
description = "Microsoft Works document format import filter library";
|
|
platforms = platforms.unix;
|
|
license = licenses.lgpl21;
|
|
};
|
|
}
|