aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/textutils.scm
diff options
context:
space:
mode:
authorMarius Bakke <marius@gnu.org>2020-11-07 21:33:32 +0100
committerMarius Bakke <marius@gnu.org>2020-11-07 21:33:32 +0100
commit32787d652460871a79f99b63230f92759e2e0de2 (patch)
treece883cac0d602b10b7c005755d035a08197e73a9 /gnu/packages/textutils.scm
parent052939c2f6e36de00a5e756ea29a4cc96884a55d (diff)
parentc2396ceb6eb30ac87755eb8b39583403b35fbd12 (diff)
downloadguix-32787d652460871a79f99b63230f92759e2e0de2.tar
guix-32787d652460871a79f99b63230f92759e2e0de2.tar.gz
Merge branch 'master' into staging
Conflicts: gnu/local.mk gnu/packages/gdb.scm gnu/packages/lisp-xyz.scm gnu/packages/web-browsers.scm
Diffstat (limited to 'gnu/packages/textutils.scm')
-rw-r--r--gnu/packages/textutils.scm33
1 files changed, 33 insertions, 0 deletions
diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm
index 7cbbe5f61d..11613cb703 100644
--- a/gnu/packages/textutils.scm
+++ b/gnu/packages/textutils.scm
@@ -52,6 +52,7 @@
#:use-module (gnu packages base)
#:use-module (gnu packages compression)
#:use-module (gnu packages gcc)
+ #:use-module (gnu packages golang)
#:use-module (gnu packages gettext)
#:use-module (gnu packages java)
#:use-module (gnu packages ncurses)
@@ -1174,3 +1175,35 @@ This package provides Python bindings.")
(description "@command{aha} (Ansi Html Adapter) converts ANSI escape sequences
of a Unix terminal to HTML code.")
(license (list license:lgpl2.0+ license:mpl1.1))))
+
+(define-public go-github-com-errata-ai-vale
+ (package
+ (name "go-github-com-errata-ai-vale")
+ (version "2.4.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/errata-ai/vale")
+ (commit (string-append "v" version))))
+ (sha256
+ (base32 "0d07fwha2220m8j24h527xl0gnl3svvyaywflgk5292d6g49ach2"))
+ (file-name (git-file-name name version))))
+ (build-system go-build-system)
+ (native-inputs
+ `(("github.com/sp13/afero" ,go-github-com-spf13-afero)
+ ("github.com/urfave/cli" ,go-github-com-urfave-cli)
+ ("github.com/olekukonko/tablewriter" ,go-github-com-olekukonko-tablewriter)
+ ("github.com/mitchellh/mapstructure" ,go-github-com-mitchellh-mapstructure)))
+ (arguments
+ `(#:import-path "github.com/errata-ai/vale"
+ #:install-source? #f))
+ (home-page "https://github.com/errata-ai/vale")
+ (synopsis "Fully customizable syntax-aware linter that focuses on your style")
+ (description
+ "Vale is a fully extensible linter that focuses on your own writing style
+by making use of rules in individual YAML files. It is syntax-aware on markup
+languages such as HTML, Markdown, Asciidoc, and reStructuredText. The community
+around it also has a list of style guides implemented with Vale in
+@url{https://github.com/errata-ai/styles, their styles repo}.")
+ (license license:expat)))