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

24 lines
653 B
Nix
Raw Normal View History

{ stdenv, fetchurl, boost, pkgconfig, librevenge, zlib }:
stdenv.mkDerivation rec {
pname = "libwps";
2020-04-06 04:22:43 +01:00
version = "0.4.11";
src = fetchurl {
url = "mirror://sourceforge/libwps/${pname}-${version}.tar.bz2";
2020-04-06 04:22:43 +01:00
sha256 = "11dg7q6mhvppfzsbzdlxldnsgapvgw17jlj1mca5jy4afn0zvqj8";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ boost librevenge zlib ];
2019-10-30 02:23:29 +00:00
NIX_CFLAGS_COMPILE = "-Wno-error=implicit-fallthrough";
meta = with stdenv.lib; {
homepage = "http://libwps.sourceforge.net/";
2016-05-24 21:25:02 +01:00
description = "Microsoft Works document format import filter library";
platforms = platforms.unix;
license = licenses.lgpl21;
};
}