[bug#79002,2/3] gnu: Add go-github-com-fatih-gomodifytags-modifytags.

Message ID dcc0d8645d345ae9b4f5633784c498dabbc6b8c5.1752360127.git.~@wolfsden.cz
State New
Headers
Series Update gopls. |

Commit Message

Tomas Volf July 12, 2025, 10:47 p.m. UTC
* 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(+)
  

Patch

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 78dac852ed..6f40d06f88 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -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")