diff --git a/README.md b/README.md index b3f6bd25..759f2a45 100644 --- a/README.md +++ b/README.md @@ -269,6 +269,10 @@ use nix - [crystal](https://crystal-lang.org/reference/man/crystal#crystal-tool-format) +### CUE + +- [cue-fmt](https://github.com/cue-lang/cue) + ### Dart - [dart analyze](https://dart.dev/tools/dart-analyze) diff --git a/modules/hooks.nix b/modules/hooks.nix index e8ee879b..388e24f9 100644 --- a/modules/hooks.nix +++ b/modules/hooks.nix @@ -2661,6 +2661,13 @@ in entry = "${hooks.crystal.package}/bin/crystal tool format"; files = "\\.cr$"; }; + cue-fmt = { + name = "cue fmt"; + description = "Format CUE files"; + package = tools.cue; + entry = "${hooks.cue-fmt.package}/bin/cue fmt"; + files = "\\.cue$"; + }; cspell = { name = "cspell"; diff --git a/nix/tools.nix b/nix/tools.nix index 5abb737e..fa0d8fdf 100644 --- a/nix/tools.nix +++ b/nix/tools.nix @@ -21,6 +21,7 @@ , conform , convco , crystal +, cue , dart , deadnix , deno @@ -132,6 +133,7 @@ in conform convco crystal + cue dart deadnix deno