2014-08-11 22:39:48 +01:00
|
|
|
{ stdenv, fetchurl, boost, libwpd, libwpg, pkgconfig, zlib, gperf
|
2018-03-30 00:09:56 +01:00
|
|
|
, librevenge, libxml2, icu, perl, cppunit, doxygen
|
2014-08-11 22:39:48 +01:00
|
|
|
}:
|
2012-08-29 21:21:13 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "libvisio";
|
2019-08-19 20:13:21 +01:00
|
|
|
version = "0.1.7";
|
2018-03-30 00:09:56 +01:00
|
|
|
|
|
|
|
outputs = [ "out" "bin" "dev" "doc" ];
|
2012-08-29 21:21:13 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 13:41:18 +01:00
|
|
|
url = "https://dev-www.libreoffice.org/src/libvisio/${pname}-${version}.tar.xz";
|
2019-08-19 20:13:21 +01:00
|
|
|
sha256 = "0k7adcbbf27l7n453cca1m6s9yj6qvb5j6bsg2db09ybf3w8vbwg";
|
2012-08-29 21:21:13 +01:00
|
|
|
};
|
|
|
|
|
2018-03-30 00:09:56 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig cppunit doxygen ];
|
2014-08-11 22:39:48 +01:00
|
|
|
buildInputs = [ boost libwpd libwpg zlib gperf librevenge libxml2 icu perl ];
|
2012-08-29 21:21:13 +01:00
|
|
|
|
2015-09-03 21:24:43 +01:00
|
|
|
configureFlags = [
|
|
|
|
"--disable-werror"
|
|
|
|
];
|
2012-08-29 21:21:13 +01:00
|
|
|
|
2018-03-30 00:09:56 +01:00
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2012-08-29 21:21:13 +01:00
|
|
|
description = "A library providing ability to interpret and import visio diagrams into various applications";
|
2018-03-30 00:09:56 +01:00
|
|
|
homepage = https://wiki.documentfoundation.org/DLP/Libraries/libvisio;
|
2018-03-30 23:24:44 +01:00
|
|
|
license = licenses.mpl20;
|
2018-03-30 00:09:56 +01:00
|
|
|
platforms = platforms.unix;
|
2012-08-29 21:21:13 +01:00
|
|
|
};
|
|
|
|
}
|