guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/24: gnu: Add go-github-com-hexops-gotextdiff.


From: guix-commits
Subject: 02/24: gnu: Add go-github-com-hexops-gotextdiff.
Date: Fri, 16 Feb 2024 09:21:11 -0500 (EST)

sharlatan pushed a commit to branch master
in repository guix.

commit 5a09b0447bd4fb1661314263415818cc0bae1053
Author: Hilton Chain <hako@ultrarare.space>
AuthorDate: Sat Jul 29 01:19:48 2023 +0800

    gnu: Add go-github-com-hexops-gotextdiff.
    
    * gnu/packages/golang-check.scm (go-github-com-hexops-gotextdiff): New
    variable.
    
    Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
    Change-Id: Id133f1970759e104213726d4243600f86097aaad
---
 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 ad84ea2760..93392a82b4 100644
--- a/gnu/packages/golang-check.scm
+++ b/gnu/packages/golang-check.scm
@@ -292,6 +292,28 @@ also update a file with new \"golden\" output that is 
deemed correct.")
 values for the purpose of fuzz testing.")
       (license license:asl2.0))))
 
+(define-public go-github-com-hexops-gotextdiff
+  (package
+    (name "go-github-com-hexops-gotextdiff")
+    (version "1.0.3")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/hexops/gotextdiff";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1vgq6w0cfhr76qlczgm5khsj1wnjkva0vhkh3qspaa1nkfw3jny1"))))
+    (build-system go-build-system)
+    (arguments
+     (list #:import-path "github.com/hexops/gotextdiff"))
+    (home-page "https://github.com/hexops/gotextdiff";)
+    (synopsis "Unified text diffing in Go")
+    (description
+     "This package provides a library to generate unified diffs.")
+    (license license:bsd-3)))
+
 (define-public go-github-com-jacobsa-oglematchers
   (let ((commit "141901ea67cd4769c6800aa7bfdfc558fa22bda5")
         (revision "0"))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]