Merge pull request #229072 from NickCao/libvisio

libvisio: set strictDeps, remove unneeded configureFlags
This commit is contained in:
Nick Cao 2023-05-02 09:33:44 +08:00 committed by GitHub
commit edbd1ea408
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,18 @@
{ 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 ];
};
}