sharlatan pushed a commit to branch go-team
in repository guix.

commit d226649c518974bc011727874c70d44d2f106271
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sat Dec 28 19:58:52 2024 +0000

    gnu: Add go-github-com-andreyvit-diff.
    
    * gnu/packages/golang-check.scm (go-github-com-andreyvit-diff): New 
variable.
    
    Change-Id: I2caa018f0451f61d9761eea474f7bf35ec5b3dc9
---
 gnu/packages/golang-check.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/golang-check.scm b/gnu/packages/golang-check.scm
index b2671d0808..bddfd11889 100644
--- a/gnu/packages/golang-check.scm
+++ b/gnu/packages/golang-check.scm
@@ -121,6 +121,32 @@ value and call @code{t.Fatal()} if the assertion fails.")
 @end itemize")
     (license license:expat)))
 
+(define-public go-github-com-andreyvit-diff
+  (package
+    (name "go-github-com-andreyvit-diff")
+    (version "0.0.0-20170406064948-c7f18ee00883")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/andreyvit/diff";)
+             (commit (go-version->git-ref version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1s4qjkxig5yqahpzfl4xqh4kzi9mymdpkzq6kj3f4dr5dl3hlynr"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "github.com/andreyvit/diff"))
+    (propagated-inputs
+     (list go-github-com-sergi-go-diff))
+    (home-page "https://github.com/andreyvit/diff";)
+    (synopsis "Diffing strings in tests")
+    (description
+     "This package provides a quick and easy string diffing functions based on
+github.com/sergi/go-diff, mainly for diffing strings in tests.")
+    (license license:expat)))
+
 (define-public go-github-com-bitfield-gotestdox
   (package
     (name "go-github-com-bitfield-gotestdox")

Reply via email to