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