diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2025-05-28 09:57:57 +0900 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-06-24 10:26:34 +0100 |
commit | b586469706cb59e7ca97c35be3939e4bce780727 (patch) | |
tree | 762c13732f9cb3f7458f27aa23b1b1c8c8e4d684 | |
parent | 847b3dacd3a8ea2fd7da0f4ece5c7e1d82716aa5 (diff) |
gnu: Add go-github-com-jiangxin-goconfig.
* gnu/packages/golang-vcs.scm (go-github-com-jiangxin-goconfig): New variable.
Change-Id: I16784102273da77fb76697c3344e4912e83cb30f
Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
-rw-r--r-- | gnu/packages/golang-vcs.scm | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/gnu/packages/golang-vcs.scm b/gnu/packages/golang-vcs.scm index 3cbb16a017..28b3d8fa0c 100644 --- a/gnu/packages/golang-vcs.scm +++ b/gnu/packages/golang-vcs.scm @@ -3,6 +3,7 @@ ;;; Copyright © 2024 Sharlatan Hellseher <sharlatanus@gmail.com> ;;; Copyright © 2025 David Thompson <davet@gnu.org> ;;; Copyright © 2025 Ludovic Courtès <ludo@gnu.org> +;;; Copyright © 2025 Maxim Cournoyer <maxim.cournoyer@gmail.com> ;;; ;;; This file is part of GNU Guix. ;;; @@ -214,6 +215,40 @@ using the Git pkt-line format used in various Git operations.") (description "This package provides a Git implementation library.") (license license:asl2.0))) +(define-public go-github-com-jiangxin-goconfig + (package + (name "go-github-com-jiangxin-goconfig") + (version "1.1.2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/jiangxin/goconfig") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0dgmwa8dzzafxcpd4j5vmdfmqn2xvah3qd9rfnihywiw45748hg1")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/jiangxin/goconfig")) + (native-inputs + (list git-minimal/pinned + go-github-com-jiu2015-gotestspace + go-github-com-stretchr-testify)) + (propagated-inputs + (list go-github-com-golang-groupcache + go-github-com-spf13-pflag)) + (home-page "https://github.com/jiangxin/goconfig") + (synopsis "Go parsing library for .gitconfig files") + (description + "@code{goconfig} is a Go library for parsing configuration files that +have the same syntax as @file{.gitconfig} files. It understands multiple +values configuration, and can parse configurations include via +@code{include.path} directives. @code{includeIf.*.path} directives are not +supported yet.") + (license license:gpl2+))) + ;; TODO: Delete all node_modules in pkg/runner/testdata/actions. (define-public go-github-com-nektos-act (package |