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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
657 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, boost, pkg-config, librevenge, zlib }:
stdenv.mkDerivation rec {
pname = "libwps";
2023-06-12 20:21:11 +02:00
version = "0.4.14";
src = fetchurl {
url = "mirror://sourceforge/libwps/${pname}-${version}.tar.bz2";
2023-06-12 20:21:11 +02:00
sha256 = "sha256-xVEdlAngO446F50EZcHMKW7aBvyDcTVu9Egs2oaIadE=";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ boost librevenge zlib ];
env.NIX_CFLAGS_COMPILE = "-Wno-error=implicit-fallthrough";
meta = with lib; {
homepage = "https://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;
};
}