2014-08-11 23:39:48 +02:00
|
|
|
{ stdenv, fetchurl, boost, libwpd, libwpg, pkgconfig, zlib, gperf
|
|
|
|
, librevenge, libxml2, icu, perl
|
|
|
|
}:
|
2012-08-29 22:21:13 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2014-08-11 23:39:48 +02:00
|
|
|
name = "libvisio-0.1.0";
|
2012-08-29 22:21:13 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2014-08-11 23:39:48 +02:00
|
|
|
url = "http://dev-www.libreoffice.org/src/${name}.tar.bz2";
|
|
|
|
sha256 = "1vpb7nbk5qh6w3jz9rl9w8p25invcvj46parb9ld13h9777kyf0j";
|
2012-08-29 22:21:13 +02:00
|
|
|
};
|
|
|
|
|
2012-12-28 19:20:09 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2014-08-11 23:39:48 +02:00
|
|
|
buildInputs = [ boost libwpd libwpg zlib gperf librevenge libxml2 icu perl ];
|
2012-08-29 22:21:13 +02:00
|
|
|
|
|
|
|
configureFlags = "--disable-werror";
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A library providing ability to interpret and import visio diagrams into various applications";
|
|
|
|
homepage = http://www.freedesktop.org/wiki/Software/libvisio;
|
|
|
|
platforms = stdenv.lib.platforms.gnu; # random choice
|
|
|
|
};
|
|
|
|
}
|