guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 1c1f25333b1d3d4b08af77f85a04bb503a7874c8
Author: Formbi <[email protected]>
AuthorDate: Wed May 28 14:50:38 2025 +0200

    gnu: Add go-github-com-alessio-shellescape.
    
    * gnu/packages/golang-xyz.scm (go-github-com-alessio-shellescape): New 
variable.
    
    Change-Id: Iba431bf469862f7d9d49e1bb12d197686026f481
    Modified-by: Sharlatan Hellseher <[email protected]>
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/golang-xyz.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 1a04ed7627..0eef152bdd 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -62,6 +62,7 @@
 ;;; Copyright © 2025 Jussi Timperi <[email protected]>
 ;;; Copyright © 2025 45mg <[email protected]>
 ;;; Copyright © 2025 Daniel Ziltener <[email protected]>
+;;; Copyright © 2025 Formbi <[email protected]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1132,6 +1133,31 @@ almost directly in Go source code.")
        "This library provides unit multipliers and functions for Go.")
       (license license:expat))))
 
+(define-public go-github-com-alessio-shellescape
+  (package
+    (name "go-github-com-alessio-shellescape")
+    (version "1.4.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/alessio/shellescape";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "14zypi8qdxl77lks5b9jshr17idrm4sri1rxgpw5q4dys1palddd"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "github.com/alessio/shellescape"))
+    (home-page "https://github.com/alessio/shellescape";)
+    (synopsis "Escape arbitrary strings for use as command line arguments")
+    (description
+     "This package provides the @code{shellescape.Quote} to escape arbitrary
+strings for a safe use as command line arguments in the most common POSIX
+shells.")
+    (license license:expat)))
+
 (define-public go-github-com-alsm-ioprogress
   (package
     (name "go-github-com-alsm-ioprogress")

Reply via email to