mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 15:44:20 +00:00
99e0722657
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.
32 lines
898 B
Nix
32 lines
898 B
Nix
{ stdenv, fetchurl, boost, libwpd, libwpg, pkgconfig, zlib, gperf
|
|
, librevenge, libxml2, icu, perl, cppunit, doxygen
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "libvisio-${version}";
|
|
version = "0.1.6";
|
|
|
|
outputs = [ "out" "bin" "dev" "doc" ];
|
|
|
|
src = fetchurl {
|
|
url = "https://dev-www.libreoffice.org/src/libvisio/${name}.tar.xz";
|
|
sha256 = "1yahpfl13qk6178irv8jn5ppxdn7isafqisyqsdw0lqxcz9h447y";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkgconfig cppunit doxygen ];
|
|
buildInputs = [ boost libwpd libwpg zlib gperf librevenge libxml2 icu perl ];
|
|
|
|
configureFlags = [
|
|
"--disable-werror"
|
|
];
|
|
|
|
doCheck = true;
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "A library providing ability to interpret and import visio diagrams into various applications";
|
|
homepage = https://wiki.documentfoundation.org/DLP/Libraries/libvisio;
|
|
license = licenses.mpl2;
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|