diff options
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/libvisio')
-rw-r--r-- | nixpkgs/pkgs/development/libraries/libvisio/default.nix | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/libvisio/default.nix b/nixpkgs/pkgs/development/libraries/libvisio/default.nix new file mode 100644 index 000000000000..b84ba92e2bfb --- /dev/null +++ b/nixpkgs/pkgs/development/libraries/libvisio/default.nix @@ -0,0 +1,31 @@ +{ stdenv, fetchurl, boost, libwpd, libwpg, pkgconfig, zlib, gperf +, librevenge, libxml2, icu, perl, cppunit, doxygen +}: + +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"; + }; + + nativeBuildInputs = [ pkgconfig cppunit doxygen ]; + buildInputs = [ boost libwpd libwpg zlib gperf librevenge libxml2 icu perl ]; + + configureFlags = [ + "--disable-werror" + ]; + + doCheck = true; + + meta = with stdenv.lib; { + 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; + }; +} |