Skip to content

Commit c1c4345

Browse files
libwbxml: fix build
1 parent f4f03ae commit c1c4345

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

pkgs/by-name/li/libwbxml/package.nix

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
lib,
55
cmake,
66
expat,
7+
check,
8+
pkg-config,
79
}:
810

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

20-
nativeBuildInputs = [ cmake ];
22+
nativeBuildInputs = [
23+
cmake
24+
pkg-config
25+
check
26+
];
2127
buildInputs = [ expat ];
2228

23-
postPatch = ''
24-
sed -i 's/^SET.*$//' cmake/CMakeLists.txt
25-
'';
26-
2729
meta = with lib; {
2830
homepage = "https://github.com/libwbxml/libwbxml";
2931
description = "WBXML Library (aka libwbxml) contains a library and its associated tools to Parse, Encode and Handle WBXML documents";
3032
maintainers = with maintainers; [ mh ];
31-
platforms = platforms.linux;
33+
platforms = platforms.unix;
3234
license = licenses.lgpl21Plus;
3335
};
3436
}

0 commit comments

Comments
 (0)