Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.03 31 lines 901 B view raw
1{ stdenv, fetchurl, boost, libwpd, libwpg, pkgconfig, zlib, gperf 2, librevenge, libxml2, icu, perl, cppunit, doxygen 3}: 4 5stdenv.mkDerivation rec { 6 pname = "libvisio"; 7 version = "0.1.7"; 8 9 outputs = [ "out" "bin" "dev" "doc" ]; 10 11 src = fetchurl { 12 url = "https://dev-www.libreoffice.org/src/libvisio/${pname}-${version}.tar.xz"; 13 sha256 = "0k7adcbbf27l7n453cca1m6s9yj6qvb5j6bsg2db09ybf3w8vbwg"; 14 }; 15 16 nativeBuildInputs = [ pkgconfig cppunit doxygen ]; 17 buildInputs = [ boost libwpd libwpg zlib gperf librevenge libxml2 icu perl ]; 18 19 configureFlags = [ 20 "--disable-werror" 21 ]; 22 23 doCheck = true; 24 25 meta = with stdenv.lib; { 26 description = "A library providing ability to interpret and import visio diagrams into various applications"; 27 homepage = https://wiki.documentfoundation.org/DLP/Libraries/libvisio; 28 license = licenses.mpl20; 29 platforms = platforms.unix; 30 }; 31}