[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/10: gnu: Add go-honnef-co-go-tools.
From: |
guix-commits |
Subject: |
08/10: gnu: Add go-honnef-co-go-tools. |
Date: |
Sat, 20 Mar 2021 06:27:54 -0400 (EDT) |
glv pushed a commit to branch master
in repository guix.
commit 05d261b88e6fb86abeaa321a7ce44d9f7798cbd5
Author: Guillaume Le Vaillant <glv@posteo.net>
AuthorDate: Fri Mar 19 16:14:51 2021 +0100
gnu: Add go-honnef-co-go-tools.
* gnu/packages/golang.scm (go-honnef-co-go-tools): New variable.
---
gnu/packages/golang.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 4c2fb2a..1ad1e14 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -6968,3 +6968,36 @@ reformat the source code, it only prints out style
mistakes.")
@code{cmd/go} tool, provided as a convenience to developers who want to write
tools with similar semantics.")
(license license:expat)))
+
+(define-public go-honnef-co-go-tools
+ (package
+ (name "go-honnef-co-go-tools")
+ (version "0.1.3")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/dominikh/go-tools")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "17li8jbw3cpn59kpcl3j3r2an4wkx3fc81xn0j4xgbjpkxh9493n"))))
+ (build-system go-build-system)
+ (arguments
+ `(#:import-path "honnef.co/go/tools"
+ #:tests? #f
+ ;; Source-only package
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'build))))
+ (propagated-inputs
+ `(("go-golang-org-x-tools" ,go-golang-org-x-tools)
+ ("go-github-com-kisielk-gotool",go-github-com-kisielk-gotool)
+ ("go-github-com-burntsushi-toml" ,go-github-com-burntsushi-toml)))
+ (home-page "https://honnef.co/go/tools")
+ (synopsis "Staticcheck advanced Go linter")
+ (description
+ "Staticcheck is a state of the art linter for the Go programming language.
+Using static analysis, it finds bugs and performance issues, offers
+simplifications, and enforces style rules.")
+ (license license:expat)))
- branch master updated (6457985 -> 5adfaa6), guix-commits, 2021/03/20
- 01/10: gnu: Add go-github-com-akosmarton-papipes., guix-commits, 2021/03/20
- 04/10: gnu: Add go-go-uber-org-atomic., guix-commits, 2021/03/20
- 06/10: gnu: Add go-golang-org-x-lint., guix-commits, 2021/03/20
- 08/10: gnu: Add go-honnef-co-go-tools.,
guix-commits <=
- 09/10: gnu: Add go-go-uber-org-zap., guix-commits, 2021/03/20
- 05/10: gnu: Add go-go-uber-org-multierr., guix-commits, 2021/03/20
- 02/10: gnu: Add go-github-com-mesilliac-pulse-simple., guix-commits, 2021/03/20
- 03/10: gnu: Add go-github-com-pborman-getopt., guix-commits, 2021/03/20
- 07/10: gnu: Add go-github-com-kisielk-gotool., guix-commits, 2021/03/20
- 10/10: gnu: Add kappanhang., guix-commits, 2021/03/20