diff --git a/README.md b/README.md index e7286226..a14a6008 100644 --- a/README.md +++ b/README.md @@ -110,6 +110,7 @@ use nix ## Clojure +- [cljfmt](https://github.com/weavejester/cljfmt) - [zprint](https://github.com/kkinnear/zprint) ## Elm diff --git a/modules/hooks.nix b/modules/hooks.nix index f03e1aeb..6391b15e 100644 --- a/modules/hooks.nix +++ b/modules/hooks.nix @@ -2009,6 +2009,14 @@ in types = [ "toml" ]; }; + cljfmt = + { + name = "cljfmt"; + description = "A tool for formatting Clojure code."; + entry = "${pkgs.cljfmt}/bin/cljfmt fix"; + types_or = [ "clojure" "clojurescript" "edn" ]; + }; + zprint = { name = "zprint";