at 23.05-pre 653 B view raw
1{ lib, stdenv, fetchurl, boost, pkg-config, librevenge, zlib }: 2 3stdenv.mkDerivation rec { 4 pname = "libwps"; 5 version = "0.4.12"; 6 7 src = fetchurl { 8 url = "mirror://sourceforge/libwps/${pname}-${version}.tar.bz2"; 9 sha256 = "16c6vq6hhi5lcvgyb9dwarr3kz69l1g5fs39b2hwqhkwzx5igpcl"; 10 }; 11 12 nativeBuildInputs = [ pkg-config ]; 13 buildInputs = [ boost librevenge zlib ]; 14 15 NIX_CFLAGS_COMPILE = "-Wno-error=implicit-fallthrough"; 16 17 meta = with lib; { 18 homepage = "http://libwps.sourceforge.net/"; 19 description = "Microsoft Works document format import filter library"; 20 platforms = platforms.unix; 21 license = licenses.lgpl21; 22 }; 23}