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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

32 lines
903 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, boost, libwpd, libwpg, pkg-config, zlib, gperf
, librevenge, libxml2, icu, perl, cppunit, doxygen
}:
2012-08-29 20:21:13 +00:00
stdenv.mkDerivation rec {
pname = "libvisio";
version = "0.1.7";
outputs = [ "out" "bin" "dev" "doc" ];
2012-08-29 20:21:13 +00:00
src = fetchurl {
url = "https://dev-www.libreoffice.org/src/libvisio/${pname}-${version}.tar.xz";
sha256 = "0k7adcbbf27l7n453cca1m6s9yj6qvb5j6bsg2db09ybf3w8vbwg";
2012-08-29 20:21:13 +00:00
};
nativeBuildInputs = [ pkg-config cppunit doxygen ];
buildInputs = [ boost libwpd libwpg zlib gperf librevenge libxml2 icu perl ];
2012-08-29 20:21:13 +00:00
2015-09-03 20:24:43 +00:00
configureFlags = [
"--disable-werror"
];
2012-08-29 20:21:13 +00:00
doCheck = true;
meta = with lib; {
2012-08-29 20:21:13 +00: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 22:24:44 +00:00
license = licenses.mpl20;
platforms = platforms.unix;
2012-08-29 20:21:13 +00:00
};
}