gnu: Add go-mvdan-cc-editorconfig.

* gnu/packages/golang.scm (go-mvdan-cc-editorconfig): New variable.

Change-Id: I4cc558e0b7be7d66ad2919eac49c355532052bb9
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Brian Kubisiak 2024-08-05 16:05:17 -07:00 committed by Sharlatan Hellseher
parent aa57dc8b31
commit c08fc11527
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -66,6 +66,7 @@ (define-module (gnu packages golang-xyz)
#:use-module (guix packages)
#:use-module (guix utils)
#:use-module (gnu packages)
#:use-module (gnu packages cmake)
#:use-module (gnu packages freedesktop)
#:use-module (gnu packages gcc)
#:use-module (gnu packages golang)
@ -6307,6 +6308,32 @@ (define-public go-gopkg-in-yaml-v2
values.")
(license license:asl2.0)))
(define-public go-mvdan-cc-editorconfig
(package
(name "go-mvdan-cc-editorconfig")
(version "0.3.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/mvdan/editorconfig")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0mi1cp6fyaknjn7smvaas4lj03fws5qib5vbi4mrz3qrmvmhh9l4"))))
(build-system go-build-system)
(arguments
(list
#:import-path "mvdan.cc/editorconfig"))
(native-inputs
(list cmake))
(home-page "https://github.com/mvdan/editorconfig")
(synopsis "EditorConfig support in Go")
(description
"Package editorconfig allows parsing and using @code{EditorConfig} files, as
defined in @url{https://editorconfig.org/,https://editorconfig.org/}.")
(license license:bsd-3)))
;;;
;;; Executables:
;;;