Skip to content

feat: add flameshot to homebrew casks - #693

Merged
shunkakinoki merged 1 commit into
mainfrom
feat/add-flameshot
Jan 30, 2026
Merged

feat: add flameshot to homebrew casks#693
shunkakinoki merged 1 commit into
mainfrom
feat/add-flameshot

Conversation

@shunkakinoki

@shunkakinoki shunkakinoki commented Jan 30, 2026

Copy link
Copy Markdown
Owner

Changes

  • Added flameshot to homebrew casks for screenshot capabilities

Testing

  • Configuration builds successfully

Generated with opencode by glm-4.7


Note

Low Risk
Low risk: only adds a single Homebrew cask entry, affecting installed apps but not core logic or security-sensitive behavior.

Overview
Adds flameshot to the homebrew.casks list in nix-darwin/config/homebrew.nix so it will be installed/managed via Homebrew on activation.

Written by Cursor Bugbot for commit e2b0848. Configure here.


Summary by cubic

Add Flameshot to the nix-darwin Homebrew casks so new macOS setups install a screenshot and annotation tool by default. This enables quick captures without extra manual installs.

Written for commit e2b0848. Summary will update on new commits.

Copilot AI review requested due to automatic review settings January 30, 2026 00:37
@mesa-dot-dev

mesa-dot-dev Bot commented Jan 30, 2026

Copy link
Copy Markdown

You do not have enough credits to review this pull request. Please purchase more credits to continue.

@shunkakinoki shunkakinoki added the enhancement Indicates new feature requests. label Jan 30, 2026
@shunkakinoki
shunkakinoki enabled auto-merge (squash) January 30, 2026 00:37
@gemini-code-assist

Copy link
Copy Markdown
Contributor

Summary of Changes

Hello @shunkakinoki, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request integrates the flameshot screenshot tool into the system's Homebrew cask management via Nix-Darwin. This change simplifies the installation and management of flameshot for users of this configuration, enhancing screenshot capabilities and streamlining the setup process for essential utilities.

Highlights

  • Homebrew Cask Addition: The flameshot application has been added to the list of Homebrew casks managed by the Nix-Darwin configuration, enabling easy installation of this screenshot tool.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@coderabbitai

coderabbitai Bot commented Jan 30, 2026

Copy link
Copy Markdown
📝 Walkthrough

Walkthrough

This pull request adds "flameshot," a screenshot utility, to the Homebrew casks list in the nix-darwin configuration file. A single line is added to the casks array with no modifications to control flow or error handling logic.

Changes

Cohort / File(s) Summary
Homebrew Configuration
nix-darwin/config/homebrew.nix
Added "flameshot" to the Homebrew casks list for GUI application installation.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Possibly related PRs

  • #485: Modifies the same nix-darwin/config/homebrew.nix file by adding a similar single-entry cask ("repobar") to the Homebrew casks list.

Poem

🐰 A screenshot tool joins the homebrew fold,

Flameshot added, precise and bold,

One little line in the config so clean,

The fastest cask list we've ever seen! 📸

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title 'feat: add flameshot to homebrew casks' clearly and concisely summarizes the main change—adding flameshot to homebrew casks in the configuration file.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Description check ✅ Passed The pull request description accurately describes the changeset, stating that flameshot was added to homebrew casks for screenshot capabilities, which matches the actual changes made.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feat/add-flameshot

Warning

Review ran into problems

🔥 Problems

Errors were encountered while retrieving linked issues.

Errors (1)
  • GLM-4: Entity not found: Issue - Could not find referenced Issue.

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@mesa-dot-dev

mesa-dot-dev Bot commented Jan 30, 2026

Copy link
Copy Markdown

Mesa Description

TL;DR

Added Flameshot to Homebrew casks for screenshot capabilities.

What changed?

  • Added flameshot to homebrew casks for screenshot capabilities

Testing

  • Configuration builds successfully

Description generated by Mesa. Update settings

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request adds flameshot to the Homebrew casks list. The change is correct and adds the new package in the proper alphabetical position relative to its neighbors. I've added one suggestion to improve the overall maintainability of the file by sorting the entire list of casks, as it is currently not fully sorted. Otherwise, the change is good to go.

"dropbox"
"figma"
"firefox"
"flameshot"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

medium

To improve maintainability and make it easier to find packages in the future, it would be beneficial to keep this list alphabetically sorted. While flameshot has been added in the correct alphabetical position, the list as a whole has a few items out of order (e.g., claude-code and tailscale-app). Could you please sort the entire casks list as part of this PR?

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Adds the flameshot Homebrew cask to the nix-darwin configuration to provide screenshot tooling on macOS.

Changes:

  • Added flameshot to the homebrew.casks list in nix-darwin/config/homebrew.nix.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

This is the final PR Bugbot will review for you during this billing cycle

Your free Bugbot reviews will reset on February 27

Details

You are on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle.

To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.

"dropbox"
"figma"
"firefox"
"flameshot"

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Adding deprecated cask scheduled for removal

Low Severity

The flameshot homebrew cask is deprecated and scheduled to be disabled on 2026-09-01 (about 7 months from now). According to Homebrew, this cask "does not pass the macOS Gatekeeper check." This means the application may show security warnings when launched and the cask will stop working after the disable date, potentially causing homebrew activation failures.

Fix in Cursor Fix in Web

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

1 issue found across 1 file

Prompt for AI agents (all issues)

Check if these issues are valid — if so, understand the root cause of each and fix them.


<file name="nix-darwin/config/homebrew.nix">

<violation number="1" location="nix-darwin/config/homebrew.nix:83">
P2: The `flameshot` cask is deprecated in Homebrew and scheduled to be disabled on 2026-09-01. It does not pass macOS Gatekeeper checks, which will cause security warnings when launched. After the disable date, this will cause homebrew activation failures. Consider using an alternative screenshot tool or be aware this will need to be removed/replaced within ~7 months.</violation>
</file>

Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.

"dropbox"
"figma"
"firefox"
"flameshot"

@cubic-dev-ai cubic-dev-ai Bot Jan 30, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

P2: The flameshot cask is deprecated in Homebrew and scheduled to be disabled on 2026-09-01. It does not pass macOS Gatekeeper checks, which will cause security warnings when launched. After the disable date, this will cause homebrew activation failures. Consider using an alternative screenshot tool or be aware this will need to be removed/replaced within ~7 months.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At nix-darwin/config/homebrew.nix, line 83:

<comment>The `flameshot` cask is deprecated in Homebrew and scheduled to be disabled on 2026-09-01. It does not pass macOS Gatekeeper checks, which will cause security warnings when launched. After the disable date, this will cause homebrew activation failures. Consider using an alternative screenshot tool or be aware this will need to be removed/replaced within ~7 months.</comment>

<file context>
@@ -80,6 +80,7 @@
       "dropbox"
       "figma"
       "firefox"
+      "flameshot"
       "font-hack-nerd-font"
       "font-jetbrains-mono"
</file context>
Fix with Cubic

@shunkakinoki
shunkakinoki merged commit 6f42e74 into main Jan 30, 2026
43 checks passed
@shunkakinoki
shunkakinoki deleted the feat/add-flameshot branch January 30, 2026 01:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Indicates new feature requests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants