gnu: Add misspell.

* gnu/packages/golang.scm (misspell): New variable.

Signed-off-by: Christopher Baines <mail@cbaines.net>
This commit is contained in:
Katherine Cox-Buday 2023-01-17 18:44:59 -07:00 committed by Christopher Baines
parent 7938d68b6b
commit 502f7ed25c
No known key found for this signature in database
GPG key ID: 5E28A33B0B84F577

View file

@ -4821,6 +4821,37 @@ (define-public go-gitlab-com-ambrevar-damerau
similar word.") similar word.")
(license license:expat)))) (license license:expat))))
(define-public misspell
(package
(name "misspell")
(version "0.3.4")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/client9/misspell")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"1vwf33wsc4la25zk9nylpbp9px3svlmldkm0bha4hp56jws4q9cs"))))
(build-system go-build-system)
(arguments
'(#:import-path "github.com/client9/misspell"
#:phases (modify-phases %standard-phases
(replace 'build
(lambda arguments
(apply (assoc-ref %standard-phases
'build)
`(,@arguments #:import-path
"github.com/client9/misspell/cmd/misspell")))))))
(home-page "https://github.com/client9/misspell")
(synopsis "Correct commonly misspelled English words in source files")
(description
"misspell assists with correcting commonly misspelled English words in
source files. A neutral variety of English is used by default, but a US or UK
locale can be selected.")
(license license:expat)))
(define-public go-github-com-stevedonovan-luar (define-public go-github-com-stevedonovan-luar
(let ((commit "22d247e5366095f491cd83edf779ee99a78f5ead") (let ((commit "22d247e5366095f491cd83edf779ee99a78f5ead")
(revision "0")) (revision "0"))