From 79d5a18116d597df9e3d6b607164947d3aed6c2f Mon Sep 17 00:00:00 2001 From: Joseph LaFreniere Date: Mon, 27 Jul 2020 00:12:06 -0500 Subject: gnu: Add go-github-com-songmu-gitconfig. * gnu/packages/golang.scm (go-github-com-songmu-gitconfig): New variable. Signed-off-by: Efraim Flashner --- gnu/packages/golang.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 12529439b3..60535e07bd 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -6542,3 +6542,29 @@ modifying them.") compressed streams in Go.") (home-page "https://github.com/ulikunitz/xz") (license license:bsd-3))) + +(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 + ;; and require network access. + #:tests? #f)) + (propagated-inputs + `(("go-github-com-goccy-yaml" ,go-github-com-goccy-yaml))) + (synopsis "Go library to get configuration values from gitconfig") + (description "@{gitconfig} is a package to get configuration values from gitconfig.") + (license license:expat))) -- cgit 1.4.1