~ruther/guix-local

56742f79c0d41e7a642154d9f04b9a344c47a6dc — Sharlatan Hellseher 2 years ago 0a881fd
gnu: go-github-com-alecthomas-assert: Move to (gnu packages golang-check).

* gnu/packages/golang-check.scm (go-github-com-alecthomas-assert): Move
from here...
* gnu/packages/golang.scm: ... to here.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2 files changed, 35 insertions(+), 31 deletions(-)

M gnu/packages/golang-check.scm
M gnu/packages/golang.scm
M gnu/packages/golang-check.scm => gnu/packages/golang-check.scm +35 -0
@@ 5,6 5,7 @@
;;; Copyright © 2019 Leo Famulari <leo@famulari.name>
;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
;;; Copyright © 2020 Joseph LaFreniere <joseph@lafreniere.xyz>
;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
;;; Copyright © 2020 Ryan Prior <rprior@protonmail.com>
;;; Copyright © 2021 Guillaume Le Vaillant <glv@posteo.net>
;;; Copyright © 2021 Sarah Morgensen <iskarian@mgsn.dev>


@@ 82,6 83,40 @@ Using static analysis, it finds bugs and performance issues, offers
simplifications, and enforces style rules.")
    (license license:expat)))

(define-public go-github-com-alecthomas-assert
  (let ((commit "405dbfeb8e38effee6e723317226e93fff912d06")
        (revision "1"))
    (package
      (name "go-github-com-alecthomas-assert")
      (version (git-version "0.0.1" revision commit))
      (source
       (origin
         (method git-fetch)
         (uri (git-reference
               (url "https://github.com/alecthomas/assert")
               (commit commit)))
         (file-name (git-file-name name version))
         (sha256
          (base32
           "1l567pi17k593nrd1qlbmiq8z9jy3qs60px2a16fdpzjsizwqx8l"))))
      (build-system go-build-system)
      (arguments
       `(#:import-path "github.com/alecthomas/assert"))
      (native-inputs
       (list go-github-com-alecthomas-colour
             go-github-com-mattn-go-isatty
             go-github-com-alecthomas-repr
             go-github-com-sergi-go-diff))
      (home-page "https://github.com/alecthomas/assert/")
      (synopsis "Go assertion library")
      (description "Assertion library that:
@itemize
@item makes spotting differences in equality much easier
@item uses repr and diffmatchpatch to display structural differences in colour
@item aborts tests on first assertion failure
@end itemize\n")
      (license license:expat))))

(define-public go-github-com-cheekybits-is
  (let ((commit "68e9c0620927fb5427fda3708222d0edee89eae9")
        (revision "0"))

M gnu/packages/golang.scm => gnu/packages/golang.scm +0 -31
@@ 9219,37 9219,6 @@ synchronizing plain text:
@end itemize\n")
    (license license:expat)))

(define-public go-github-com-alecthomas-assert
  (let ((commit "405dbfeb8e38effee6e723317226e93fff912d06")
        (revision "1"))
    (package
      (name "go-github-com-alecthomas-assert")
      (version (git-version "0.0.1" revision commit))
      (source (origin
                (method git-fetch)
                (uri (git-reference
                      (url "https://github.com/alecthomas/assert")
                      (commit commit)))
                (file-name (git-file-name name version))
                (sha256
                 (base32
                  "1l567pi17k593nrd1qlbmiq8z9jy3qs60px2a16fdpzjsizwqx8l"))))
      (build-system go-build-system)
      (arguments
       `(#:import-path "github.com/alecthomas/assert"))
      (native-inputs
       (list go-github-com-mattn-go-isatty go-github-com-alecthomas-colour
             go-github-com-alecthomas-repr go-github-com-sergi-go-diff))
      (home-page "https://github.com/alecthomas/assert/")
      (synopsis "Go assertion library")
      (description "Assertion library that:
@itemize
@item makes spotting differences in equality much easier
@item uses repr and diffmatchpatch to display structural differences in colour
@item aborts tests on first assertion failure
@end itemize\n")
      (license license:expat))))

(define-public go-github-com-alecthomas-chroma
  (package
    (name "go-github-com-alecthomas-chroma")