nixpkgs/pkgs/development/libraries/libvisio/default.nix
Vladimír Čunát 2e6bf42a22
Merge branch 'master' into staging-next
There ver very many conflicts, basically all due to
name -> pname+version.  Fortunately, almost everything was auto-resolved
by kdiff3, and for now I just fixed up a couple evaluation problems,
as verified by the tarball job.  There might be some fallback to these
conflicts, but I believe it should be minimal.

Hydra nixpkgs: ?compare=1538299
2019-08-24 08:55:37 +02:00

32 lines
901 B
Nix

{ 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;
};
}