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