~ruther/guix-local

e9af0c2462515dce608921efea2ab2772fab0e0e — Sharlatan Hellseher 9 months ago 6322217
gnu: Add go-github-com-hexops-autogold-v2.

* gnu/packages/golang-check.scm (go-github-com-hexops-autogold-v2): New variable.

Change-Id: Ibf8ef896b7753085ac801ec3f664a385a987c4c0
1 files changed, 32 insertions(+), 0 deletions(-)

M gnu/packages/golang-check.scm
M gnu/packages/golang-check.scm => gnu/packages/golang-check.scm +32 -0
@@ 1120,6 1120,38 @@ Node @code{nock} library, it has features like:
@end itemize")
    (license license:expat)))

(define-public go-github-com-hexops-autogold-v2
  (package
    (name "go-github-com-hexops-autogold-v2")
    (version "2.3.0")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
              (url "https://github.com/hexops/autogold")
              (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "15ih02l1c9z55ixrl39v0g3fv38nwl578bdjnygl14rbh5dqac0y"))))
    (build-system go-build-system)
    (arguments
     (list
      #:import-path "github.com/hexops/autogold/v2"))
    (propagated-inputs
     (list go-github-com-fatih-color
           go-github-com-hexops-gotextdiff
           go-github-com-hexops-valast
           go-github-com-nightlyone-lockfile
           go-golang-org-x-tools))
    (home-page "https://github.com/hexops/autogold")
    (synopsis "Automatically update Go tests")
    (description
     "Package autogold makes @code{go test -update} automatically update Go
tests (golden files and Go values in e.g. @code{foo_test.go}).")
    ;; Dual license.
    (license (list license:asl2.0
                   license:expat))))

(define-public go-github-com-hexops-gotextdiff
  (package
    (name "go-github-com-hexops-gotextdiff")