diff mbox series

[bug#44562,07/15] gnu: Add go-github-com-Songmu-gitconfig.

Message ID 87lff896an.fsf@lafreniere.xyz
State New
Headers show
Series [bug#44562,01/15] gnu: Add go-github-com-leodido-go-urn. | expand

Checks

Context Check Description
cbaines/submitting builds success
cbaines/issue success View issue
cbaines/comparison success View comparision
cbaines/git branch success View Git branch
cbaines/applying patch fail View Laminar job

Commit Message

Joseph LaFreniere Nov. 10, 2020, 10:49 p.m. UTC
--
Joseph LaFreniere
diff mbox series

Patch

From 19dd9897e0167e4bf2c73487ed4000a92a16a4f4 Mon Sep 17 00:00:00 2001
From: Joseph LaFreniere <joseph@lafreniere.xyz>
Date: Mon, 27 Jul 2020 00:12:06 -0500
Subject: [PATCH 07/15] gnu: Add go-github-com-Songmu-gitconfig.

* gnu/packages/golang.scm (go-github-com-Songmu-gitconfig): New variable.
---
 gnu/packages/golang.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index a902f7cd5c..03f9fc46af 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -6244,3 +6244,30 @@  modifying them.")
 @item Extract value or AST by YAMLPath (YAMLPath is like a JSONPath)
 @end itemize")
     (license license:expat)))
+
+(define-public go-github-com-Songmu-gitconfig
+  (package
+    (name "go-github-com-Songmu-gitconfig")
+    (version "0.1.0")
+    (home-page "https://github.com/Songmu/gitconfig")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url home-page)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1y01h496a7pfj1g2bclls5b0nl3vnj7nz610jj1dzq9kxrwxk7fk"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:import-path "github.com/Songmu/gitconfig"
+       ;; Package's tests appear to be hardcoded to the author's gitconfig.
+       #:tests? #f))
+    (inputs
+     `(("go-github-com-fatih-color" ,go-github-com-fatih-color)
+       ("go-github-com-goccy-yaml" ,go-github-com-goccy-yaml)
+       ("go-golang-org-x-xerrors" ,go-golang-org-x-xerrors)))
+    (synopsis "Go library to get configuration values from gitconfig.")
+    (description "@{gitconfig} is a package to get configuration values from gitconfig.")
+    (license license:expat)))
-- 
2.29.2