From 79ec6628b9b7fa90035e7c36f154958ef8c6ccf0 Mon Sep 17 00:00:00 2001 From: Patrick Norton Date: Mon, 24 Nov 2025 11:10:04 -0500 Subject: [PATCH] gnu: Add go-github-com-a8m-tree. * gnu/packages/golang-xyz.scm (go-github-com-a8m-tree): New variable. Change-Id: I6b42ead8419634568034a6aa08cf2583f280b987 Signed-off-by: Sharlatan Hellseher --- gnu/packages/golang-xyz.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index d798f83cd156e93ede9047c2094660bd92ce12ed..83bbb6d60c30707febb1bc6fb70dca258486688d 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -69,6 +69,7 @@ ;;; Copyright © 2025 Arthur Rodrigues ;;; Copyright © 2025 Tomás Ortín Fernández ;;; Copyright © 2025 Allan Adair +;;; Copyright © 2025 Patrick Norton ;;; ;;; This file is part of GNU Guix. ;;; @@ -808,6 +809,34 @@ Golang.") substitution.") (license license:expat))) +(define-public go-github-com-a8m-tree + (package + (name "go-github-com-a8m-tree") + (version "0.0.0-20240104212747-2c8764a5f17e") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/a8m/tree") + (commit (go-version->git-ref version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0alkk8ghgmdzx4585r5562igsj39g89zlzdw109hdm5c1vmrm8dw")))) + (build-system go-build-system) + (arguments + (list + ;; "non-constant format string in call to fmt.Fprintf" + #:test-flags + #~(list "-vet=off") + #:import-path "github.com/a8m/tree")) + (home-page "https://github.com/a8m/tree") + (synopsis + "Implementation of the tree command that can be used programmatically") + (description + "This package implements the @code{tree} command in Go, in a way such that it +can be used programatically.") + (license license:expat))) + (define-public go-github-com-abadojack-whatlanggo (package (name "go-github-com-abadojack-whatlanggo")