gnu: vale: Refresh package style.
* gnu/packages/textutils.scm (vale): [source]: Remove some packaged module from vendor. [arguments]: Move above native-inputs. Swap to list style, do not install source. [description]: Fix indentation. Change-Id: I3efbffc74e76ba2c88467bfc7e79b06d4d05ee18master
parent
0f3f787043
commit
eed3fcceed
|
@ -1433,23 +1433,33 @@ of a Unix terminal to HTML code.")
|
||||||
(commit (string-append "v" version))))
|
(commit (string-append "v" version))))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "0d07fwha2220m8j24h527xl0gnl3svvyaywflgk5292d6g49ach2"))
|
(base32 "0d07fwha2220m8j24h527xl0gnl3svvyaywflgk5292d6g49ach2"))
|
||||||
(file-name (git-file-name name version))))
|
(file-name (git-file-name name version))
|
||||||
|
(modules '((guix build utils)))
|
||||||
|
;; Remove some vendor modules.
|
||||||
|
;; TODO: Pack all of them and remove vendor directory completely.
|
||||||
|
(snippet
|
||||||
|
'(for-each
|
||||||
|
delete-file-recursively
|
||||||
|
(list "vendor/github.com/mitchellh/mapstructure"
|
||||||
|
"vendor/github.com/olekukonko/tablewriter"
|
||||||
|
"vendor/github.com/spf13/afero"
|
||||||
|
"vendor/github.com/urfave/cli")))))
|
||||||
(build-system go-build-system)
|
(build-system go-build-system)
|
||||||
|
(arguments
|
||||||
|
(list #:install-source? #f
|
||||||
|
#:import-path "github.com/errata-ai/vale"))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list go-github-com-mitchellh-mapstructure
|
(list go-github-com-mitchellh-mapstructure
|
||||||
go-github-com-olekukonko-tablewriter
|
go-github-com-olekukonko-tablewriter
|
||||||
go-github-com-spf13-afero
|
go-github-com-spf13-afero
|
||||||
go-github-com-urfave-cli))
|
go-github-com-urfave-cli))
|
||||||
(arguments
|
|
||||||
`(#:import-path "github.com/errata-ai/vale"
|
|
||||||
#:install-source? #f))
|
|
||||||
(home-page "https://github.com/errata-ai/vale")
|
(home-page "https://github.com/errata-ai/vale")
|
||||||
(synopsis "Fully customizable syntax-aware linter that focuses on your style")
|
(synopsis "Fully customizable syntax-aware linter that focuses on your style")
|
||||||
(description
|
(description
|
||||||
"Vale is a fully extensible linter that focuses on your own writing style
|
"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
|
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
|
languages such as HTML, Markdown, Asciidoc, and reStructuredText. The
|
||||||
around it also has a list of style guides implemented with Vale in
|
community around it also has a list of style guides implemented with Vale in
|
||||||
@url{https://github.com/errata-ai/styles, their styles repo}.")
|
@url{https://github.com/errata-ai/styles, their styles repo}.")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
|
|
Reference in New Issue