lol
1{
2 lib,
3 stdenv,
4 fetchurl,
5 boost,
6 libwpd,
7 libwpg,
8 pkg-config,
9 zlib,
10 gperf,
11 librevenge,
12 libxml2,
13 icu,
14 perl,
15 cppunit,
16 doxygen,
17}:
18
19stdenv.mkDerivation rec {
20 pname = "libvisio";
21 version = "0.1.8";
22
23 outputs = [
24 "out"
25 "bin"
26 "dev"
27 "doc"
28 ];
29
30 src = fetchurl {
31 url = "https://dev-www.libreoffice.org/src/libvisio/${pname}-${version}.tar.xz";
32 hash = "sha256-tAmP+/TcuecSE/oKzdvZKPJ77TDbLYAjSBOxXVPQQFs=";
33 };
34
35 strictDeps = true;
36 nativeBuildInputs = [
37 pkg-config
38 doxygen
39 perl
40 gperf
41 ];
42 buildInputs = [
43 boost
44 libwpd
45 libwpg
46 zlib
47 librevenge
48 libxml2
49 icu
50 cppunit
51 ];
52
53 doCheck = true;
54
55 enableParallelBuilding = true;
56
57 meta = with lib; {
58 description = "Library providing ability to interpret and import visio diagrams into various applications";
59 homepage = "https://wiki.documentfoundation.org/DLP/Libraries/libvisio";
60 license = licenses.mpl20;
61 platforms = platforms.unix;
62 maintainers = with maintainers; [ nickcao ];
63 };
64}