nixpkgs/pkgs/development/libraries/libwps/default.nix
R. RyanTM 89fb95b93f libwps: 0.4.8 -> 0.4.9
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/libwps/versions.

These checks were done:

- built on NixOS
- ran ‘/nix/store/ffxxsf65d1lgwg2v456z97waagpn3ng0-libwps-0.4.9/bin/wps2html -v’ and found version 0.4.9
- ran ‘/nix/store/ffxxsf65d1lgwg2v456z97waagpn3ng0-libwps-0.4.9/bin/wps2raw -v’ and found version 0.4.9
- ran ‘/nix/store/ffxxsf65d1lgwg2v456z97waagpn3ng0-libwps-0.4.9/bin/wps2raw --version’ and found version 0.4.9
- ran ‘/nix/store/ffxxsf65d1lgwg2v456z97waagpn3ng0-libwps-0.4.9/bin/wps2text -v’ and found version 0.4.9
- ran ‘/nix/store/ffxxsf65d1lgwg2v456z97waagpn3ng0-libwps-0.4.9/bin/wks2csv -v’ and found version 0.4.9
- ran ‘/nix/store/ffxxsf65d1lgwg2v456z97waagpn3ng0-libwps-0.4.9/bin/wks2raw -v’ and found version 0.4.9
- ran ‘/nix/store/ffxxsf65d1lgwg2v456z97waagpn3ng0-libwps-0.4.9/bin/wks2raw --version’ and found version 0.4.9
- ran ‘/nix/store/ffxxsf65d1lgwg2v456z97waagpn3ng0-libwps-0.4.9/bin/wks2text -v’ and found version 0.4.9
- found 0.4.9 with grep in /nix/store/ffxxsf65d1lgwg2v456z97waagpn3ng0-libwps-0.4.9
- directory tree listing: https://gist.github.com/a3fdf5973402ddf0aa6d1a0ecd058d41
2018-04-26 02:54:03 -07:00

24 lines
679 B
Nix

{ stdenv, fetchurl, boost, pkgconfig, librevenge, zlib }:
stdenv.mkDerivation rec {
name = "libwps-${version}";
version = "0.4.9";
src = fetchurl {
url = "mirror://sourceforge/libwps/${name}.tar.bz2";
sha256 = "1wn5lvx7c9dp98d9akqjhkv5fk94725hbvqzbjpy1v8y4mm9knb6";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ boost librevenge zlib ];
NIX_CFLAGS_COMPILE = [ "-Wno-error=implicit-fallthrough" ]; # newly detected by gcc-7
meta = with stdenv.lib; {
homepage = http://libwps.sourceforge.net/;
description = "Microsoft Works document format import filter library";
platforms = platforms.linux;
license = licenses.lgpl21;
};
}