From 0969cb0b48b676155b6a4f5528247b9653e90889 Mon Sep 17 00:00:00 2001 From: Dominic Martinez Date: Sun, 11 Feb 2024 19:28:15 +0100 Subject: [PATCH] gnu: Add go-github-com-anmitsu-go-shlex. * gnu/packages/golang-xyz.scm (go-github-com-anmitsu-go-shlex): New variable. Signed-off-by: Sharlatan Hellseher Change-Id: I75f63d866fb8c6cd8e80ac48fc207236d839a028 --- gnu/packages/golang-xyz.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index 8823ae21c6..9aab17d10e 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -1,4 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2022 Dominic Martinez ;;; Copyright © 2023 Benjamin ;;; Copyright © 2023 Thomas Ieong ;;; Copyright © 2024 Artyom V. Poptsov @@ -38,6 +39,27 @@ (define-module (gnu packages golang-xyz) ;;; ;;; Code: +(define-public go-github-com-anmitsu-go-shlex + (package + (name "go-github-com-anmitsu-go-shlex") + (version "0.0.0-20200514113438-38f4b401e2be") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/anmitsu/go-shlex") + (commit (go-version->git-ref version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "17iz68yzbnr7y4s493asbagbv79qq8hvl2pkxvm6bvdkgphj8w1g")))) + (build-system go-build-system) + (arguments '(#:import-path "github.com/anmitsu/go-shlex")) + (home-page "https://github.com/anmitsu/go-shlex") + (synopsis "Simple shell-like lexical analyzer for Go") + (description "This package provides a simple lexical analyzer to parse +shell-like commands.") + (license license:expat))) + (define-public go-github-com-djherbis-atime (package (name "go-github-com-djherbis-atime")