Unverified Commit 91903628 authored by Nikolay Korotkiy's avatar Nikolay Korotkiy Committed by GitHub
Browse files

libwbxml: fix build (#367723)

parents 301d6e45 c1c4345d
Loading
Loading
Loading
Loading
+8 −6
Original line number Diff line number Diff line
@@ -4,6 +4,8 @@
  lib,
  cmake,
  expat,
  check,
  pkg-config,
}:

stdenv.mkDerivation rec {
@@ -17,18 +19,18 @@ stdenv.mkDerivation rec {
    sha256 = "sha256-yy8+CyNKXuttCmxRxH/XptIloDklto4f5Zg0vnwnneY=";
  };

  nativeBuildInputs = [ cmake ];
  nativeBuildInputs = [
    cmake
    pkg-config
    check
  ];
  buildInputs = [ expat ];

  postPatch = ''
    sed -i 's/^SET.*$//' cmake/CMakeLists.txt
  '';

  meta = with lib; {
    homepage = "https://github.com/libwbxml/libwbxml";
    description = "WBXML Library (aka libwbxml) contains a library and its associated tools to Parse, Encode and Handle WBXML documents";
    maintainers = with maintainers; [ mh ];
    platforms = platforms.linux;
    platforms = platforms.unix;
    license = licenses.lgpl21Plus;
  };
}