Unverified Commit edbd1ea4 authored by Nick Cao's avatar Nick Cao Committed by GitHub
Browse files

Merge pull request #229072 from NickCao/libvisio

libvisio: set strictDeps, remove unneeded configureFlags
parents 95dc6a03 6fd16207
Loading
Loading
Loading
Loading
+19 −8
Original line number Diff line number Diff line
{ lib, stdenv, fetchurl, boost, libwpd, libwpg, pkg-config, zlib, gperf
, librevenge, libxml2, icu, perl, cppunit, doxygen
{ lib
, stdenv
, fetchurl
, boost
, libwpd
, libwpg
, pkg-config
, zlib
, gperf
, librevenge
, libxml2
, icu
, perl
, cppunit
, doxygen
}:

stdenv.mkDerivation rec {
@@ -13,12 +26,9 @@ stdenv.mkDerivation rec {
    sha256 = "0k7adcbbf27l7n453cca1m6s9yj6qvb5j6bsg2db09ybf3w8vbwg";
  };

  nativeBuildInputs = [ pkg-config cppunit doxygen ];
  buildInputs = [ boost libwpd libwpg zlib gperf librevenge libxml2 icu perl ];

  configureFlags = [
    "--disable-werror"
  ];
  strictDeps = true;
  nativeBuildInputs = [ pkg-config doxygen perl gperf ];
  buildInputs = [ boost libwpd libwpg zlib librevenge libxml2 icu cppunit ];

  doCheck = true;

@@ -27,5 +37,6 @@ stdenv.mkDerivation rec {
    homepage = "https://wiki.documentfoundation.org/DLP/Libraries/libvisio";
    license = licenses.mpl20;
    platforms = platforms.unix;
    maintainers = with maintainers; [ nickcao ];
  };
}