wayland

Nim bindings for Wayland

Wrapper score 15/100 · tests present · no docs generated

Wraps a native library — check OS Compatibility below for platform-specific linking notes.

Summary

Latest Version Unknown
License MIT
CI Status Failing
Downloads 0
Last Indexed 2026-07-21 05:25

Installation

nimble install wayland
choosenim install wayland
git clone https://github.com/j-james/nim-wayland

OS Compatibility

Platform Linux macOS Windows FreeBSD OpenBSD NetBSD Android iOS WASM Embedded
wayland - - - - - - -

Source

Repository https://github.com/j-james/nim-wayland
Homepage https://github.com/j-james/nim-wayland
Registry Source nimble_official

README

wayland

Work-in-progress Nim bindings for libwayland.

This aims to wrap and provide idiomatic bindings for the Wayland protocol. It currently binds the entirety of Wayland 1.21.0, but should not be considered feature-complete or stable until tests have been written and a release has been made.

These differ from yglukhov's bindings by being more comprehensive, but a work in progress (untested and not particularly idiomatic, yet).

Todo

  • [ ] Write some tests
  • [ ] Replace various ptr T parameters with ptr types
  • [ ] Decide on a prefix convention for types
  • Background: wayland and wlroots have identically-named types, so just removing the Wl and Wlr prefixes will cause conflicts
  • Currently the Wl prefix here is kept while the Wlr prefix in nim-wlroots is removed
  • Is this the best way forward? Probably not