guix-commits
[Top][All Lists]
Advanced

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

13/13: gnu: go-github-com-sergi-go-diff: Move to golang-xyz.


From: guix-commits
Subject: 13/13: gnu: go-github-com-sergi-go-diff: Move to golang-xyz.
Date: Tue, 11 Jun 2024 05:30:22 -0400 (EDT)

sharlatan pushed a commit to branch master
in repository guix.

commit d346f392eee3fa7fa78d22b687ada874dc5e5ade
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Tue Jun 11 10:25:30 2024 +0100

    gnu: go-github-com-sergi-go-diff: Move to golang-xyz.
    
    * gnu/packages/golang.scm (go-github-com-sergi-go-diff): Move from here ...
    * gnu/packages/golang-xyz.scm: ... to here.
    
    Change-Id: If722317a42006e3bef4462b5a6fe4c0f434bd5d2
---
 gnu/packages/golang-xyz.scm | 31 +++++++++++++++++++++++++++++++
 gnu/packages/golang.scm     | 30 ------------------------------
 2 files changed, 31 insertions(+), 30 deletions(-)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index fd6ac34bb6..ca9cdb0b1b 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -3237,6 +3237,37 @@ detect the number of bytes written to a stream, so you 
can use it as a
 is undetermined, a customizable spinner is shown.")
     (license license:expat)))
 
+(define-public go-github-com-sergi-go-diff
+  (package
+    (name "go-github-com-sergi-go-diff")
+    (version "1.2.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/sergi/go-diff";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0cbj8nshllq102iiav0k1s01b8gwbkzj674g71n938qqna32y2pa"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "github.com/sergi/go-diff/diffmatchpatch"
+      #:unpack-path "github.com/sergi/go-diff"))
+    (native-inputs
+     (list go-github-com-stretchr-testify))
+    (home-page "https://github.com/sergi/go-diff/";)
+    (synopsis "Algorithms to perform operations for synchronizing plain text")
+    (description "@code{go-diff} offers algorithms to perform operations 
required for
+synchronizing plain text:
+@itemize
+@item compare two texts and return their differences
+@item perform fuzzy matching of text
+@item apply patches onto text
+@end itemize")
+    (license license:expat)))
+
 (define-public go-github-com-shirou-gopsutil
   (package
     (name "go-github-com-shirou-gopsutil")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 9bf441a938..e090bc1210 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -6961,36 +6961,6 @@ stripped.")
 can be used almost directly in Go source code.")
     (license license:expat)))
 
-(define-public go-github-com-sergi-go-diff
-  (package
-    (name "go-github-com-sergi-go-diff")
-    (version "1.2.0")
-    (source (origin
-              (method git-fetch)
-              (uri (git-reference
-                    (url "https://github.com/sergi/go-diff";)
-                    (commit (string-append "v" version))))
-              (file-name (git-file-name name version))
-              (sha256
-               (base32
-                "0cbj8nshllq102iiav0k1s01b8gwbkzj674g71n938qqna32y2pa"))))
-    (build-system go-build-system)
-    (arguments
-     `(#:import-path "github.com/sergi/go-diff/diffmatchpatch"
-       #:unpack-path "github.com/sergi/go-diff"))
-    (native-inputs
-     (list go-github-com-stretchr-testify))
-    (home-page "https://github.com/sergi/go-diff/";)
-    (synopsis "Algorithms to perform operations for synchronizing plain text")
-    (description "@code{go-diff} offers algorithms to perform operations 
required for
-synchronizing plain text:
-@itemize
-@item compare two texts and return their differences
-@item perform fuzzy matching of text
-@item apply patches onto text
-@end itemize\n")
-    (license license:expat)))
-
 (define-public go-github-com-muesli-reflow-wordwrap
   (package
     (name "go-github-com-muesli-reflow-wordwrap")



reply via email to

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