[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/25: gnu: Add go-github-com-jba-printsrc.
From: |
guix-commits |
Subject: |
04/25: gnu: Add go-github-com-jba-printsrc. |
Date: |
Mon, 6 Feb 2023 18:06:17 -0500 (EST) |
cbaines pushed a commit to branch master
in repository guix.
commit 9fbbfea40badff3667fa14973bcb2ffcc87232f4
Author: Katherine Cox-Buday <cox.katherine.e@gmail.com>
AuthorDate: Tue Jan 17 18:44:49 2023 -0700
gnu: Add go-github-com-jba-printsrc.
* gnu/packages/golang.scm (go-github-com-jba-printsrc): New variable.
Signed-off-by: Christopher Baines <mail@cbaines.net>
---
gnu/packages/golang.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index a643efd283..6e398ccd2e 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -8560,6 +8560,31 @@ This makes it virtually free to implement mocks and
testing over
file system operations.")
(license license:asl2.0)))
+(define-public go-github-com-jba-printsrc
+ (package
+ (name "go-github-com-jba-printsrc")
+ (version "0.2.2")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/jba/printsrc")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1gyy3kmb5a5i710wkv3b7ah7i7sz5sdc7v3sab5m4rxch1sd2fpj"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/jba/printsrc"
+ ;; TODO: Open bug; expecting time.Local, but when local=UTC, we get
time.UTC
+ #:tests? #f))
+ (home-page "https://github.com/jba/printsrc")
+ (synopsis "Prints Go values as sourcecode")
+ (description
+ "Package printsrc prints Go values as Go source. It strives to render
+legal Go source code, and returns an error when detects that it cannot.")
+ (license license:expat)))
+
(define-public go-github-com-jbenet-go-context
(let ((commit "d14ea06fba99483203c19d92cfcd13ebe73135f4")
(revision "1"))
- branch master updated (2a6cee99b3 -> f3ab5888a0), guix-commits, 2023/02/06
- 07/25: gnu: go-github-com-google-go-cmp-cmp: Update to 0.5.9., guix-commits, 2023/02/06
- 21/25: gnu: go-github-com-burntsushi-toml: Update to 1.2.1., guix-commits, 2023/02/06
- 04/25: gnu: Add go-github-com-jba-printsrc.,
guix-commits <=
- 05/25: gnu: Add go-github-com-google-safehtml., guix-commits, 2023/02/06
- 12/25: gnu: Add xurls., guix-commits, 2023/02/06
- 02/25: gnu: go-golang-org-x-mod: Update to 0.7.0., guix-commits, 2023/02/06
- 11/25: gnu: go-golang-org-x-tools: Update to 0.5.0., guix-commits, 2023/02/06
- 14/25: gnu: Add misspell., guix-commits, 2023/02/06
- 06/25: gnu: Add go-github-com-jba-templatecheck., guix-commits, 2023/02/06
- 13/25: gnu: Add go-mvdan-cc-xurls., guix-commits, 2023/02/06
- 03/25: gnu: Add go-golang-org-x-exp., guix-commits, 2023/02/06
- 10/25: gnu: gopkg-in-errgo-fmt-errors: Rename to go-gopkg-in-errgo-fmt-errors., guix-commits, 2023/02/06
- 08/25: gnu: go-github-com-pkg-diff: Update to 0.0.0-20210226163009-20ebb0f2a09e., guix-commits, 2023/02/06