From 1c1f25333b1d3d4b08af77f85a04bb503a7874c8 Mon Sep 17 00:00:00 2001 From: Formbi Date: Wed, 28 May 2025 14:50:38 +0200 Subject: [PATCH] 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 Signed-off-by: Sharlatan Hellseher --- 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 1a04ed76274bf85ba64cb6d85682efe0e5fe4a55..0eef152bdded6626c75b0368e32500e0f393c856 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -62,6 +62,7 @@ ;;; Copyright © 2025 Jussi Timperi ;;; Copyright © 2025 45mg <45mg.writes@gmail.com> ;;; Copyright © 2025 Daniel Ziltener +;;; Copyright © 2025 Formbi ;;; ;;; 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")