depot/third_party/nixpkgs/pkgs/development/libraries/libwps/default.nix
Default email a0cb138ada Project import generated by Copybara.
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
2023-02-02 18:25:31 +00:00

23 lines
654 B
Nix

{ lib, stdenv, fetchurl, boost, pkg-config, librevenge, zlib }:
stdenv.mkDerivation rec {
pname = "libwps";
version = "0.4.12";
src = fetchurl {
url = "mirror://sourceforge/libwps/${pname}-${version}.tar.bz2";
sha256 = "16c6vq6hhi5lcvgyb9dwarr3kz69l1g5fs39b2hwqhkwzx5igpcl";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ boost librevenge zlib ];
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;
};
}