[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#68829] [PATCH 1/3] gnu: Add go-github-com-cli-safeexec.
From: |
Greg Hogan |
Subject: |
[bug#68829] [PATCH 1/3] gnu: Add go-github-com-cli-safeexec. |
Date: |
Tue, 30 Jan 2024 20:08:04 +0000 |
* gnu/packages/golang.scm (go-github-com-cli-safeexec): New variable.
Change-Id: Ibc183f5185de16b4d6528697cbc85183a3282733
---
gnu/packages/golang.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 64f7981a7d..8b62e9088a 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -43,6 +43,7 @@
;;; Copyright © 2023 Timo Wilken <guix@twilken.net>
;;; Copyright © 2023, 2024 Artyom V. Poptsov <poptsov.artyom@gmail.com>
;;; Copyright © 2023 Clément Lassieur <clement@lassieur.org>
+;;; Copyright © 2024 Greg Hogan <code@greghogan.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -5312,6 +5313,28 @@ (define-public misspell
locale can be selected.")
(license license:expat)))
+(define-public go-github-com-cli-safeexec
+ (package
+ (name "go-github-com-cli-safeexec")
+ (version "1.0.1")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/cli/safeexec")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0j6hspjx9kyxn98nbisawx6wvbi1d6rpzr6p2rzhllm673wibwr3"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/cli/safeexec"))
+ (home-page "https://github.com/cli/safeexec")
+ (synopsis "Safe implementation of Go's exec.Command")
+ (description "This package provides a Go module that provides a stabler
+alternative to @@code{exec.LookPath()}.")
+ (license license:bsd-2)))
+
(define-public go-github-com-client9-misspell
(package
(inherit misspell)
--
2.43.0
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug#68829] [PATCH 1/3] gnu: Add go-github-com-cli-safeexec.,
Greg Hogan <=