depot/third_party/nixpkgs/pkgs/development/libraries/libvisio/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

42 lines
934 B
Nix

{ lib
, stdenv
, fetchurl
, boost
, libwpd
, libwpg
, pkg-config
, 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";
};
strictDeps = true;
nativeBuildInputs = [ pkg-config doxygen perl gperf ];
buildInputs = [ boost libwpd libwpg zlib librevenge libxml2 icu cppunit ];
doCheck = true;
meta = with lib; {
description = "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;
maintainers = with maintainers; [ nickcao ];
};
}