[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
13/60: gnu: Add go-github-com-sergi-go-diff.
From: |
guix-commits |
Subject: |
13/60: gnu: Add go-github-com-sergi-go-diff. |
Date: |
Sun, 9 Aug 2020 10:24:53 -0400 (EDT) |
wigust pushed a commit to branch master
in repository guix.
commit 1871d26444e83fedfdedba943fdcfcf4745a4d04
Author: Oleg Pykhalov <go.wigust@gmail.com>
AuthorDate: Sat Aug 8 23:44:00 2020 +0300
gnu: Add go-github-com-sergi-go-diff.
* gnu/packages/golang.scm (go-github-com-sergi-go-diff): New variable.
---
gnu/packages/golang.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index d3e834f..8f75d9f 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -4571,3 +4571,33 @@ stripped.")
(description "This package attempts to represent Go values in a form that
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.1.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
+ "0ir8ali2vx0j7pipmlfd6k8c973akyy2nmbjrf008fm800zcp7z2"))))
+ (build-system go-build-system)
+ (arguments
+ `(#:import-path "github.com/sergi/go-diff/diffmatchpatch"
+ #:unpack-path "github.com/sergi/go-diff"))
+ (native-inputs
+ `(("go-github-com-stretchr-testify" ,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)))
- 06/60: gnu: Add go-github-com-mitchellh-reflectwalk., (continued)
- 06/60: gnu: Add go-github-com-mitchellh-reflectwalk., guix-commits, 2020/08/09
- 07/60: gnu: Add go-github-com-mitchellh-copystructure., guix-commits, 2020/08/09
- 01/60: gnu: Add go-github-com-masterminds-goutils., guix-commits, 2020/08/09
- 05/60: gnu: Add go-github-com-imdario-mergo., guix-commits, 2020/08/09
- 08/60: gnu: Add go-github-com-masterminds-sprig., guix-commits, 2020/08/09
- 11/60: gnu: Add go-github-com-alecthomas-colour., guix-commits, 2020/08/09
- 14/60: gnu: Add go-github-com-alecthomas-assert., guix-commits, 2020/08/09
- 15/60: gnu: Add go-github-com-alecthomas-chroma., guix-commits, 2020/08/09
- 10/60: gnu: Add go-github-com-dlclark-regexp2., guix-commits, 2020/08/09
- 12/60: gnu: Add go-github-com-alecthomas-repr., guix-commits, 2020/08/09
- 13/60: gnu: Add go-github-com-sergi-go-diff.,
guix-commits <=
- 16/60: gnu: Add go-github-com-andybalholm-cascadia., guix-commits, 2020/08/09
- 18/60: gnu: Add go-github-com-gorilla-css., guix-commits, 2020/08/09
- 22/60: gnu: Add go-github-com-muesli-reflow., guix-commits, 2020/08/09
- 21/60: gnu: Add go-github-com-microcosm-cc-bluemonday., guix-commits, 2020/08/09
- 26/60: gnu: Add go-github-com-google-goterm., guix-commits, 2020/08/09
- 27/60: gnu: Add go-github-com-muesli-termenv., guix-commits, 2020/08/09
- 17/60: gnu: Add go-github-com-puerkitobio-goquery., guix-commits, 2020/08/09
- 20/60: gnu: Add go-github-com-chris-ramon-douceur., guix-commits, 2020/08/09
- 28/60: gnu: Add go-github-com-olekukonko-tablewriter., guix-commits, 2020/08/09
- 31/60: gnu: Add go-github-com-coreos-go-semver., guix-commits, 2020/08/09