[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#60900: closed ([PATCH 04/25] gnu: Add go-github-com-jba-printsrc.)
From: |
GNU bug Tracking System |
Subject: |
bug#60900: closed ([PATCH 04/25] gnu: Add go-github-com-jba-printsrc.) |
Date: |
Mon, 06 Feb 2023 23:16:03 +0000 |
Your message dated Tue, 07 Feb 2023 00:14:14 +0100
with message-id <87cz6mcrnq.fsf@cbaines.net>
and subject line Re: [bug#60899] [PATCH 00/25] gnu: golang: Add gopls
has caused the debbugs.gnu.org bug report #60899,
regarding [PATCH 04/25] gnu: Add go-github-com-jba-printsrc.
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)
--
60899: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=60899
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message ---
Subject: |
[PATCH 04/25] gnu: Add go-github-com-jba-printsrc. |
Date: |
Tue, 17 Jan 2023 18:44:49 -0700 |
* gnu/packages/golang.scm (go-github-com-jba-printsrc): New variable.
---
gnu/packages/golang.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 861640435e..677d58d831 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -8515,6 +8515,32 @@ (define-public go-github-com-go-git-go-billy
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.")
+ ;; MIT
+ (license license:expat)))
+
(define-public go-github-com-jbenet-go-context
(let ((commit "d14ea06fba99483203c19d92cfcd13ebe73135f4")
(revision "1"))
--
2.38.1
--- End Message ---
--- Begin Message ---
Subject: |
Re: [bug#60899] [PATCH 00/25] gnu: golang: Add gopls |
Date: |
Tue, 07 Feb 2023 00:14:14 +0100 |
User-agent: |
mu4e 1.8.11; emacs 28.2 |
Katherine Cox-Buday <cox.katherine.e@gmail.com> writes:
> This is a patch series to add the gopls package.
>
> I haven't contributed to many projects which use the e-mail flow, so hopefully
> I'm doing this correctly. Please feel free to make suggestions if not!
>
> Some of the diffs are a little busier than I'd like for version bumps. This is
> due to running `guix style` over everything.
>
> For all of the packages I have:
>
> . Run guix style
> . Run guix lint
> . Built 2x
> . Checked that the change is in the correct branch
> . Built all dependencies
> . Built the repository
>
> Katherine Cox-Buday (25):
> gnu: go-golang-org-x-sync: Update to 0.1.0-1.8fcdb60.
> gnu: go-golang-org-x-mod: Update to 0.7.0.
> gnu: Add go-golang-org-x-exp.
> gnu: Add go-github-com-jba-printsrc.
> gnu: Add go-github-com-google-safehtml.
> gnu: Add go-github-com-jba-templatecheck.
> gnu: go-github-com-google-go-cmp-cmp: Update to 0.5.9.
> gnu: go-github-com-pkg-diff: Update to
> 0.0.0-20210226163009-20ebb0f2a09e.
> gnu: go-github-com-rogpeppe-go-internal: Update to 1.9.0.
> gnu: gopkg-in-errgo-fmt-errors: Rename package to
> go-gopkg-in-errgo-fmt-errors.
> gnu: go-golang-org-x-tools: Update to 0.5.0.
> gnu: Add xurls.
> gnu: Add go-mvdan-cc-xurls.
> gnu: Add misspell.
> gnu: Add go-github-com-client9-misspell.
> gnu: Add go-github-com-google-go-cmdtest.
> gnu: Add unparam.
> gnu: Add go-mvdan-cc-unparam.
> gnu: Add govulncheck.
> gnu: Add go-golang-org-x-vuln.
> gnu: go-github-com-burntsushi-toml: Update to 1.2.1.
> gnu: go-honnef-co-go-tools: Update to 0.3.3.
> gnu: Add gofumpt.
> gnu: Add go-mvdan-cc-gofumpt.
> gnu: Add gopls.
>
> gnu/packages/configuration-management.scm | 2 +-
> gnu/packages/golang.scm | 695 ++++++++++++++++++----
> 2 files changed, 578 insertions(+), 119 deletions(-)
I've made a few tweaks and pushed this to master as
f3ab5888a0bc6446104ddbba41a413a86eb298e2.
Thanks,
Chris
signature.asc
Description: PGP signature
--- End Message ---
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#60900: closed ([PATCH 04/25] gnu: Add go-github-com-jba-printsrc.),
GNU bug Tracking System <=