diff --git a/pkgs/by-name/li/libwbxml/package.nix b/pkgs/by-name/li/libwbxml/package.nix index 294ef4ea3472..82036c7099f6 100644 --- a/pkgs/by-name/li/libwbxml/package.nix +++ b/pkgs/by-name/li/libwbxml/package.nix @@ -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; }; }