[bug#79002,2/3] gnu: Add go-github-com-fatih-gomodifytags-modifytags.
Commit Message
* gnu/packages/golang-xyz.scm (go-github-com-fatih-gomodifytags-modifytags):
New variable.
Change-Id: I821d8fee339666f0c655bf2a7f53c068ddeb9bc9
---
gnu/packages/golang-xyz.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
@@ -6065,6 +6065,39 @@ (define-public go-github-com-fatih-color
defined output to the standard output.")
(license license:expat)))
+(define-public go-github-com-fatih-gomodifytags-modifytags
+ (let ((commit "f3939df9aa3cc13eb51e50268af256b4f9272cdb")
+ (rev "0"))
+ (package
+ (name "go-github-com-fatih-gomodifytags-modifytags")
+ (version (git-version "1.17.0" rev commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/fatih/gomodifytags")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0gr9bs5f94kpnmjsg7dn6gr7yazlgllyypy2g6xvqrhgzrk2ckbr"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/fatih/gomodifytags/modifytags"
+ #:unpack-path "github.com/fatih/gomodifytags"))
+ (propagated-inputs (list go-github-com-fatih-structtag
+ go-github-com-fatih-camelcase))
+ (home-page "https://github.com/fatih/gomodifytags")
+ (synopsis "gomodifytags")
+ (description
+ "Go tool to modify/update field tags in structs. @@code{gomodifytags} makes it
+easy to update, add or delete the tags in a struct field. You can easily add
+new tags, update existing tags (such as appending a new key, i.e: @@code{db},
+@@code{xml}, etc..) or remove existing tags. It also allows you to add and
+remove tag options. It's intended to be used by an editor, but also has modes
+to run it from the terminal. Read the usage section below for more information.")
+ (license license:bsd-3))))
+
(define-public go-github-com-fatih-structs
(package
(name "go-github-com-fatih-structs")