summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFormbi <formbi@protonmail.com>2025-05-28 14:50:38 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-06-10 12:31:49 +0100
commit1c1f25333b1d3d4b08af77f85a04bb503a7874c8 (patch)
tree14e2fca07980783a0ed722cb884d62dfc71c1b07
parent2602e40362af93e56deb91fed6893a5366ae5c4d (diff)
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 <sharlatanus@gmail.ccom> Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
-rw-r--r--gnu/packages/golang-xyz.scm26
1 files changed, 26 insertions, 0 deletions
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 <jussi.timperi@iki.fi>
;;; Copyright © 2025 45mg <45mg.writes@gmail.com>
;;; Copyright © 2025 Daniel Ziltener <dziltener@lyrion.ch>
+;;; Copyright © 2025 Formbi <formbi@protonmail.com>
;;;
;;; 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")