Skip to content

Conversation

@timrogers
Copy link

This introduces a new formula, litra, from the timrogers/litra-rs repository.

litra is a lightweight command line tool for controlling Logitech Litra key lights.

I believe it meets the criteria to be included in Homebrew since it is stable, maintainable, known (113 stars and an active OSS community), used by someone other than the author and it has a homepage.

  • Have you followed the guidelines for contributing?
  • Have you ensured that your commits follow the commit style guide?
  • Have you checked that there aren't other open pull requests for the same formula update/change?
  • Have you built your formula locally with HOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source <formula>, where <formula> is the name of the formula you're submitting?
  • Is your test running fine brew test <formula>, where <formula> is the name of the formula you're submitting?
  • Does your build pass brew audit --strict <formula> (after doing HOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source <formula>)? If this is a new formula, does it pass brew audit --new <formula>?

@github-actions github-actions bot added new formula PR adds a new formula to Homebrew/homebrew-core rust Rust use is a significant feature of the PR or issue labels Jan 18, 2026
@github-actions
Copy link
Contributor

Thanks for contributing to Homebrew! 🎉 It looks like you're having trouble with a CI failure. See our contribution guide for help. You may be most interested in the section on dealing with CI failures. You can find the CI logs in the Checks tab of your pull request.

@github-actions github-actions bot added the autosquash Automatically squash pull request commits according to Homebrew style. label Jan 18, 2026
@timrogers timrogers force-pushed the litra branch 2 times, most recently from de751ea to ac6985c Compare January 18, 2026 17:43
@github-actions github-actions bot removed the autosquash Automatically squash pull request commits according to Homebrew style. label Jan 18, 2026
@timrogers timrogers force-pushed the litra branch 2 times, most recently from e65e6d8 to ef6e225 Compare January 18, 2026 18:14
This introduces a new formula, `litra`, from the
[`timrogers/litra-rs`][1] repository.

`litra` is a lightweight command line tool for
controlling Logitech Litra key lights.

I believe it meets the criteria to be included in
Homebrew since it is stable, maintainable, known
(113 stars and an active OSS community), used by
someone other than the author and it has a
homepage.

[1]: https://docs.brew.sh/Formula-Cookbook#commit
@timrogers
Copy link
Author

@botantony @SMillerDev I've addressed the feedback now and the build is passing. Thanks for your 👀 !

end

test do
assert_match "No Logitech Litra devices found", shell_output("#{bin}/litra devices").strip
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
assert_match "No Logitech Litra devices found", shell_output("#{bin}/litra devices").strip
assert_match version.to_s, shell_output("#{bin}/litra --version")
assert_match "No Logitech Litra devices found", shell_output("#{bin}/litra devices")

Comment on lines +12 to +14
depends_on "hidapi"
depends_on "openssl@3"
depends_on "systemd"
Copy link
Member

@chenrui333 chenrui333 Jan 19, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With this patch, we can update to use system dep

Suggested change
depends_on "hidapi"
depends_on "openssl@3"
depends_on "systemd"
depends_on "hidapi"
$ brew linkage litra
System libraries:
  /lib/x86_64-linux-gnu/ld-linux-x86-64.so.2
  /lib/x86_64-linux-gnu/libc.so.6
  /lib/x86_64-linux-gnu/libgcc_s.so.1
  /lib/x86_64-linux-gnu/libm.so.6
Homebrew libraries:
  /home/linuxbrew/.linuxbrew/opt/hidapi/lib/libhidapi-hidraw.so.0 (hidapi)

@chenrui333 chenrui333 marked this pull request as draft January 19, 2026 00:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new formula PR adds a new formula to Homebrew/homebrew-core rust Rust use is a significant feature of the PR or issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants