nixpkgs/pkgs/development/libraries/libvisio/default.nix

32 lines
899 B
Nix
Raw Normal View History

{ stdenv, fetchurl, boost, libwpd, libwpg, pkgconfig, zlib, gperf
, librevenge, libxml2, icu, perl, cppunit, doxygen
}:
2012-08-29 21:21:13 +01:00
stdenv.mkDerivation rec {
name = "libvisio-${version}";
version = "0.1.6";
outputs = [ "out" "bin" "dev" "doc" ];
2012-08-29 21:21:13 +01:00
src = fetchurl {
url = "https://dev-www.libreoffice.org/src/libvisio/${name}.tar.xz";
sha256 = "1yahpfl13qk6178irv8jn5ppxdn7isafqisyqsdw0lqxcz9h447y";
2012-08-29 21:21:13 +01:00
};
nativeBuildInputs = [ pkgconfig cppunit doxygen ];
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
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";
homepage = https://wiki.documentfoundation.org/DLP/Libraries/libvisio;
2018-03-30 23:24:44 +01:00
license = licenses.mpl20;
platforms = platforms.unix;
2012-08-29 21:21:13 +01:00
};
}