From d346f392eee3fa7fa78d22b687ada874dc5e5ade Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Tue, 11 Jun 2024 10:25:30 +0100 Subject: [PATCH] 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")