From 505d0c2c61195694a3fe249666036c47e8605fae Mon Sep 17 00:00:00 2001 From: Sergey Yakovlev Date: Tue, 9 Dec 2025 02:17:14 +0200 Subject: [PATCH] feat: add cue --- README.md | 4 ++++ modules/hooks.nix | 7 +++++++ nix/tools.nix | 2 ++ 3 files changed, 13 insertions(+) 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