mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-04 05:50:00 +00:00
65 lines
1.1 KiB
Nix
65 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchurl,
|
|
boost,
|
|
libwpd,
|
|
libwpg,
|
|
pkg-config,
|
|
zlib,
|
|
gperf,
|
|
librevenge,
|
|
libxml2,
|
|
icu,
|
|
perl,
|
|
cppunit,
|
|
doxygen,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "libvisio";
|
|
version = "0.1.11";
|
|
|
|
outputs = [
|
|
"out"
|
|
"bin"
|
|
"dev"
|
|
"doc"
|
|
];
|
|
|
|
src = fetchurl {
|
|
url = "https://dev-www.libreoffice.org/src/libvisio/libvisio-${finalAttrs.version}.tar.xz";
|
|
hash = "sha256-Km79QLbZ28tw+6O+UxEjZogrqXtXFR3zaY36R4yNjdM=";
|
|
};
|
|
|
|
strictDeps = true;
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
doxygen
|
|
perl
|
|
gperf
|
|
];
|
|
buildInputs = [
|
|
boost
|
|
libwpd
|
|
libwpg
|
|
zlib
|
|
librevenge
|
|
libxml2
|
|
icu
|
|
cppunit
|
|
];
|
|
|
|
doCheck = true;
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = {
|
|
description = "Library providing ability to interpret and import visio diagrams into various applications";
|
|
homepage = "https://wiki.documentfoundation.org/DLP/Libraries/libvisio";
|
|
license = lib.licenses.mpl20;
|
|
platforms = lib.platforms.unix;
|
|
maintainers = with lib.maintainers; [ nickcao ];
|
|
};
|
|
})
|