depot/third_party/nixpkgs/pkgs/development/libraries/libwps/default.nix
Default email 4d5a95770c Project import generated by Copybara.
GitOrigin-RevId: 3c5319ad3aa51551182ac82ea17ab1c6b0f0df89
2023-03-04 15:14:45 +03:00

23 lines
657 B
Nix

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