nixpkgs/pkgs/development/libraries/libwps/default.nix

24 lines
653 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, boost, pkg-config, librevenge, zlib }:
stdenv.mkDerivation rec {
pname = "libwps";
2020-09-24 04:28:58 +00:00
version = "0.4.12";
src = fetchurl {
url = "mirror://sourceforge/libwps/${pname}-${version}.tar.bz2";
2020-09-24 04:28:58 +00:00
sha256 = "16c6vq6hhi5lcvgyb9dwarr3kz69l1g5fs39b2hwqhkwzx5igpcl";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ boost librevenge zlib ];
2019-10-30 02:23:29 +00:00
NIX_CFLAGS_COMPILE = "-Wno-error=implicit-fallthrough";
meta = with lib; {
homepage = "http://libwps.sourceforge.net/";
2016-05-24 20:25:02 +00:00
description = "Microsoft Works document format import filter library";
platforms = platforms.unix;
license = licenses.lgpl21;
};
}