libwbxml: fix build

This commit is contained in:
Markus Heinrich
2025-01-02 23:43:26 +01:00
parent f4f03ae1de
commit c1c4345db2
+8 -6
View File
@@ -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;
};
}