mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Add go-github-com-hexops-valast.
* gnu/packages/golang-check.scm (go-github-com-hexops-valast): New variable. Change-Id: I77a08047ce3076b491ab7c25f7252d995c8ce552
This commit is contained in:
parent
b54936b610
commit
63222170a5
1 changed files with 33 additions and 0 deletions
|
@ -1142,6 +1142,39 @@ Node @code{nock} library, it has features like:
|
||||||
"This package provides a library to generate unified diffs.")
|
"This package provides a library to generate unified diffs.")
|
||||||
(license license:bsd-3)))
|
(license license:bsd-3)))
|
||||||
|
|
||||||
|
(define-public go-github-com-hexops-valast
|
||||||
|
(package
|
||||||
|
(name "go-github-com-hexops-valast")
|
||||||
|
(version "1.5.0")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method git-fetch)
|
||||||
|
(uri (git-reference
|
||||||
|
(url "https://github.com/hexops/valast")
|
||||||
|
(commit (string-append "v" version))))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
|
(sha256
|
||||||
|
(base32 "1pn08if4zz7gm0g4l9wsg1psqkbqa9i0g5wnba7jr2c23253xplf"))))
|
||||||
|
(build-system go-build-system)
|
||||||
|
(arguments
|
||||||
|
(list
|
||||||
|
#:tests? #f ;cycles with go-github-com-hexops-autogold
|
||||||
|
#:import-path "github.com/hexops/valast"))
|
||||||
|
(propagated-inputs
|
||||||
|
(list go-golang-org-x-tools
|
||||||
|
go-mvdan-cc-gofumpt))
|
||||||
|
(home-page "https://github.com/hexops/valast")
|
||||||
|
(synopsis "Convert Go values to their AST")
|
||||||
|
(description
|
||||||
|
"This package implements a functionality to converts Go values at runtime
|
||||||
|
into their @@code{go/ast} equivalent,which may be used in debugging and
|
||||||
|
testing, as a more comprehensive and configurable version of the @code{fmt}
|
||||||
|
package's @code{%+v} and @code{%#v} formatting directives. It is similar to
|
||||||
|
e.g. @code{repr} in Python.")
|
||||||
|
;; Dual license.
|
||||||
|
(license (list license:asl2.0
|
||||||
|
license:expat))))
|
||||||
|
|
||||||
(define-public go-github-com-hydrogen18-memlistener
|
(define-public go-github-com-hydrogen18-memlistener
|
||||||
(package
|
(package
|
||||||
(name "go-github-com-hydrogen18-memlistener")
|
(name "go-github-com-hydrogen18-memlistener")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue