Files
Ihar HrachyshkaandWolfgang Walther 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

37 lines
761 B
Nix

{
stdenv,
fetchFromGitHub,
lib,
cmake,
expat,
check,
pkg-config,
}:
stdenv.mkDerivation rec {
pname = "libwbxml";
version = "0.11.10";
src = fetchFromGitHub {
owner = "libwbxml";
repo = "libwbxml";
rev = "${pname}-${version}";
sha256 = "sha256-yy8+CyNKXuttCmxRxH/XptIloDklto4f5Zg0vnwnneY=";
};
nativeBuildInputs = [
cmake
pkg-config
check
];
buildInputs = [ expat ];
meta = {
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 lib.maintainers; [ mh ];
platforms = lib.platforms.unix;
license = lib.licenses.lgpl21Plus;
};
}