From fd28001a44e725b4da2d29b7eae130d30db5db88 Mon Sep 17 00:00:00 2001 From: Hilton Chain Date: Sat, 29 Jul 2023 01:19:50 +0800 Subject: [PATCH] gnu: Add go-github-com-alecthomas-assert-v2. * gnu/packages/golang-check.scm (go-github-com-alecthomas-assert-v2): New variable. Signed-off-by: Sharlatan Hellseher --- gnu/packages/golang-check.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/golang-check.scm b/gnu/packages/golang-check.scm index 93392a82b4..5df3d9ccec 100644 --- a/gnu/packages/golang-check.scm +++ b/gnu/packages/golang-check.scm @@ -94,6 +94,28 @@ (define-public go-github-com-alecthomas-assert @end itemize\n") (license license:expat)))) +(define-public go-github-com-alecthomas-assert-v2 + (package + (inherit go-github-com-alecthomas-assert) + (name "go-github-com-alecthomas-assert-v2") + (version "2.2.2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/alecthomas/assert") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "055w46gr47rrn5g2hh7z6hj3x2b8advbcph8gs8szrpzlympyyz0")))) + (arguments + (list #:go go-1.18 + #:import-path "github.com/alecthomas/assert/v2")) + (propagated-inputs + (list go-github-com-alecthomas-repr + go-github-com-hexops-gotextdiff)) + (native-inputs '()))) + (define-public go-github-com-cheekybits-is (let ((commit "68e9c0620927fb5427fda3708222d0edee89eae9") (revision "0"))