mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-12 02:40:31 +08:00
treefmt: add longDescription linking to Nixpkgs Manual
Link to the treefmt section of the Nixpkgs Manual in the `treefmt` package's long description. Additionally, link to treefmt-nix.
This commit is contained in:
committed by
Valentin Gagarin
parent
6e5c68be85
commit
efbf556332
@@ -46,6 +46,19 @@ buildGoModule rec {
|
||||
|
||||
meta = {
|
||||
description = "one CLI to format the code tree";
|
||||
longDescription = ''
|
||||
[treefmt](${meta.homepage}) streamlines the process of applying formatters
|
||||
to your project, making it a breeze with just one command line.
|
||||
|
||||
The `treefmt` package provides functions for configuring treefmt using
|
||||
the module system, which are documented in the [treefmt section] of the
|
||||
Nixpkgs Manual.
|
||||
|
||||
Alternatively, treefmt can be configured using [treefmt-nix].
|
||||
|
||||
[treefmt section]: https://nixos.org/manual/nixpkgs/unstable#treefmt
|
||||
[treefmt-nix]: https://github.com/numtide/treefmt-nix
|
||||
'';
|
||||
homepage = "https://github.com/numtide/treefmt";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [
|
||||
|
||||
Reference in New Issue
Block a user