2023-05-24 13:37:59 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchurl
|
|
|
|
, boost
|
|
|
|
, libwpd
|
|
|
|
, libwpg
|
|
|
|
, pkg-config
|
|
|
|
, zlib
|
|
|
|
, gperf
|
|
|
|
, librevenge
|
|
|
|
, libxml2
|
|
|
|
, icu
|
|
|
|
, perl
|
|
|
|
, cppunit
|
|
|
|
, doxygen
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "libvisio";
|
|
|
|
version = "0.1.7";
|
|
|
|
|
|
|
|
outputs = [ "out" "bin" "dev" "doc" ];
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://dev-www.libreoffice.org/src/libvisio/${pname}-${version}.tar.xz";
|
|
|
|
sha256 = "0k7adcbbf27l7n453cca1m6s9yj6qvb5j6bsg2db09ybf3w8vbwg";
|
|
|
|
};
|
|
|
|
|
2023-05-24 13:37:59 +00:00
|
|
|
strictDeps = true;
|
|
|
|
nativeBuildInputs = [ pkg-config doxygen perl gperf ];
|
|
|
|
buildInputs = [ boost libwpd libwpg zlib librevenge libxml2 icu cppunit ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "A library providing ability to interpret and import visio diagrams into various applications";
|
|
|
|
homepage = "https://wiki.documentfoundation.org/DLP/Libraries/libvisio";
|
|
|
|
license = licenses.mpl20;
|
|
|
|
platforms = platforms.unix;
|
2023-05-24 13:37:59 +00:00
|
|
|
maintainers = with maintainers; [ nickcao ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|