aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/golang-xyz.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/golang-xyz.scm')
-rw-r--r--gnu/packages/golang-xyz.scm31
1 files changed, 31 insertions, 0 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")