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