Skip to content

Add recipe for cmakefmt#32907

Open
puneetmatharu wants to merge 7 commits intoconda-forge:mainfrom
puneetmatharu:add-cmakefmt
Open

Add recipe for cmakefmt#32907
puneetmatharu wants to merge 7 commits intoconda-forge:mainfrom
puneetmatharu:add-cmakefmt

Conversation

@puneetmatharu
Copy link
Copy Markdown

@puneetmatharu puneetmatharu commented Apr 8, 2026

Summary

Add cmakefmt — a fast, correct, configurable CMake formatter written in Rust. Drop-in replacement for cmake-format with full legacy config conversion support.

The recipe builds from source using cargo install with LTO and stripped symbols. Shell completions (bash, zsh, fish) and a man page are installed.

Requested by a user in cmakefmt/cmakefmt#5.

Checklist

  • Title of this PR is meaningful: e.g. "Adding my_nifty_package", not "updated meta.yaml".
  • License file is packaged (see here for an example).
  • Source is from official source.
  • Package does not vendor other packages. (If a package uses the source of another package, they should be separate packages or the licenses of all packages need to be packaged).
  • If static libraries are linked in, the license of the static library is packaged.
  • Package does not ship static libraries. If static libraries are needed, follow CFEP-18.
  • Build number is 0.
  • A tarball (url) rather than a repo (e.g. git_url) is used in your recipe (see here for more details).
  • GitHub users listed in the maintainer section have posted a comment confirming they are willing to be listed there.
  • When in trouble, please check our knowledge base documentation before pinging a team.

@conda-forge-admin
Copy link
Copy Markdown
Contributor

conda-forge-admin commented Apr 8, 2026

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipes/cmakefmt/recipe.yaml) and found it was in an excellent condition.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 8, 2026

Hi! This is the staged-recipes linter and your PR looks excellent! 🚀

@puneetmatharu
Copy link
Copy Markdown
Author

I'm willing to be listed as a maintainer.

@traversaro
Copy link
Copy Markdown
Contributor

Requested by a user in cmakefmt/cmakefmt#5.

Full disclosure, I am the user that requested that, but I am also a reviewer for this repo. : )

@conda-forge/help-rust I am not a big rust expert, perhaps someone of you may be interested in the review of this PR? Thanks!

@pavelzw
Copy link
Copy Markdown
Member

pavelzw commented Apr 10, 2026

ah sorry we need to still fix CI

@puneetmatharu
Copy link
Copy Markdown
Author

Apologies. I'm working on fixing this now

@puneetmatharu
Copy link
Copy Markdown
Author

@pavelzw done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants