summary refs log tree commit diff
path: root/pkgs/development/libraries/libvisio/default.nix
diff options
context:
space:
mode:
authorRyan Mulligan <ryan@ryantm.com>2018-03-29 16:09:56 -0700
committerJan Tojnar <jtojnar@gmail.com>2018-03-31 00:09:10 +0200
commit99e0722657fa473c6ea01d7e9400632d184b8440 (patch)
tree7ce52a98edefa0d4c672f557bf9fe672ed8c738e /pkgs/development/libraries/libvisio/default.nix
parentf54a02df4f1ecca724a4737b936e100e92ed4743 (diff)
downloadnixpkgs-99e0722657fa473c6ea01d7e9400632d184b8440.tar
nixpkgs-99e0722657fa473c6ea01d7e9400632d184b8440.tar.gz
nixpkgs-99e0722657fa473c6ea01d7e9400632d184b8440.tar.bz2
nixpkgs-99e0722657fa473c6ea01d7e9400632d184b8440.tar.lz
nixpkgs-99e0722657fa473c6ea01d7e9400632d184b8440.tar.xz
nixpkgs-99e0722657fa473c6ea01d7e9400632d184b8440.tar.zst
nixpkgs-99e0722657fa473c6ea01d7e9400632d184b8440.zip
libvisio: 0.1.3 -> 0.1.6
Semi-automatic update generated by https://github.com/ryantm/nix-update tools.

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

These checks were done:

- built on NixOS
- ran `/nix/store/bm8rhp6ljq7n0iqhpn4f1j3p013ps704-libvisio-0.1.6/bin/vsd2raw --version` and found version 0.1.6
- ran `/nix/store/bm8rhp6ljq7n0iqhpn4f1j3p013ps704-libvisio-0.1.6/bin/vss2raw --version` and found version 0.1.6
- ran `/nix/store/bm8rhp6ljq7n0iqhpn4f1j3p013ps704-libvisio-0.1.6/bin/vsd2xhtml --version` and found version 0.1.6
- ran `/nix/store/bm8rhp6ljq7n0iqhpn4f1j3p013ps704-libvisio-0.1.6/bin/vss2xhtml --version` and found version 0.1.6
- ran `/nix/store/bm8rhp6ljq7n0iqhpn4f1j3p013ps704-libvisio-0.1.6/bin/vsd2text --version` and found version 0.1.6
- ran `/nix/store/bm8rhp6ljq7n0iqhpn4f1j3p013ps704-libvisio-0.1.6/bin/vss2text --version` and found version 0.1.6
- found 0.1.6 with grep in /nix/store/bm8rhp6ljq7n0iqhpn4f1j3p013ps704-libvisio-0.1.6
- directory tree listing: https://gist.github.com/a7d83a73b3560d8cfa739ca582d98dcd

Manually cleaned up & split outputs.
Diffstat (limited to 'pkgs/development/libraries/libvisio/default.nix')
-rw-r--r--pkgs/development/libraries/libvisio/default.nix29
1 files changed, 14 insertions, 15 deletions
diff --git a/pkgs/development/libraries/libvisio/default.nix b/pkgs/development/libraries/libvisio/default.nix
index bda14d72947..8af8eacd2ea 100644
--- a/pkgs/development/libraries/libvisio/default.nix
+++ b/pkgs/development/libraries/libvisio/default.nix
@@ -1,32 +1,31 @@
 { stdenv, fetchurl, boost, libwpd, libwpg, pkgconfig, zlib, gperf
-, librevenge, libxml2, icu, perl
+, librevenge, libxml2, icu, perl, cppunit, doxygen
 }:
 
 stdenv.mkDerivation rec {
-  name = "libvisio-0.1.3";
+  name = "libvisio-${version}";
+  version = "0.1.6";
+
+  outputs = [ "out" "bin" "dev" "doc" ];
 
   src = fetchurl {
-    url = "http://dev-www.libreoffice.org/src/${name}.tar.bz2";
-    sha256 = "1blgdwxprqkasm2175imcvy647sqv6xyf3k09p0b1i7hlq889wvy";
+    url = "https://dev-www.libreoffice.org/src/libvisio/${name}.tar.xz";
+    sha256 = "1yahpfl13qk6178irv8jn5ppxdn7isafqisyqsdw0lqxcz9h447y";
   };
 
-  nativeBuildInputs = [ pkgconfig ];
+  nativeBuildInputs = [ pkgconfig cppunit doxygen ];
   buildInputs = [ boost libwpd libwpg zlib gperf librevenge libxml2 icu perl ];
 
-  # Boost 1.59 compatability fix
-  # Attempt removing when updating
-  postPatch = ''
-    sed -i 's,^CPPFLAGS.*,\0 -DBOOST_ERROR_CODE_HEADER_ONLY -DBOOST_SYSTEM_NO_DEPRECATED,' src/lib/Makefile.in
-  '';
-
   configureFlags = [
     "--disable-werror"
-    "--disable-tests"
   ];
 
-  meta = {
+  doCheck = true;
+
+  meta = with stdenv.lib; {
     description = "A library providing ability to interpret and import visio diagrams into various applications";
-    homepage = http://www.freedesktop.org/wiki/Software/libvisio;
-    platforms = stdenv.lib.platforms.unix;
+    homepage = https://wiki.documentfoundation.org/DLP/Libraries/libvisio;
+    license = licenses.mpl2;
+    platforms = platforms.unix;
   };
 }