all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#69348] [PATCH 1/2] gnu: Add go-github-com-k0kubun-pp.
  2024-02-24  9:31 [bug#69348] [PATCH 0/2] gnu: sqls: Add missing inputs Troy Figiel
@ 2024-02-17 19:11 ` Troy Figiel
  2024-02-17 19:19 ` [bug#69348] [PATCH 2/2] gnu: sqls: Add missing inputs Troy Figiel
  2024-03-07  0:01 ` bug#69348: [PATCH 0/2] " Sharlatan Hellseher
  2 siblings, 0 replies; 4+ messages in thread
From: Troy Figiel @ 2024-02-17 19:11 UTC (permalink / raw)
  To: 69348

* gnu/packages/golang-xyz.scm (go-github-com-k0kubun-pp): New variable.
---
 gnu/packages/golang-xyz.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index e68948e495..c39670fcde 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -15,6 +15,7 @@
 ;;; Copyright © 2023 Timo Wilken <guix@twilken.net>
 ;;; Copyright © 2023, 2024 Sharlatan Hellseher <sharlatanus@gmail.com>
 ;;; Copyright © 2024 Artyom V. Poptsov <poptsov.artyom@gmail.com>
+;;; Copyright © 2024 Troy Figiel <troy@troyfigiel.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -709,6 +710,33 @@ (define-public go-github-com-jinzhu-copier
 struct to another.")
     (license license:expat)))
 
+(define-public go-github-com-k0kubun-pp
+  (package
+    (name "go-github-com-k0kubun-pp")
+    (version "3.2.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/k0kubun/pp")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1vpp5n3kdazk4s1ljhwbrhz3kilzvdvx5hya922bg0q9vnjqqvvc"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "github.com/k0kubun/pp"))
+    (propagated-inputs (list go-github-com-mattn-go-colorable
+                             go-golang-org-x-text))
+    (home-page "https://github.com/k0kubun/pp")
+    (synopsis "Colored pretty-printer for Go")
+    (description
+     "This package provides a pretty-printer for Go.  The functions defined by
+@code{pp} follow an API similar to @code{fmt} and its configuration can be
+customized globally.")
+    (license license:expat)))
+
 (define-public go-github-com-matryer-try
   (package
     (name "go-github-com-matryer-try")

base-commit: c0f88cd18649c31c75bcddf8247b14ef3e3a66a5
-- 
2.42.0





^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [bug#69348] [PATCH 2/2] gnu: sqls: Add missing inputs.
  2024-02-24  9:31 [bug#69348] [PATCH 0/2] gnu: sqls: Add missing inputs Troy Figiel
  2024-02-17 19:11 ` [bug#69348] [PATCH 1/2] gnu: Add go-github-com-k0kubun-pp Troy Figiel
@ 2024-02-17 19:19 ` Troy Figiel
  2024-03-07  0:01 ` bug#69348: [PATCH 0/2] " Sharlatan Hellseher
  2 siblings, 0 replies; 4+ messages in thread
From: Troy Figiel @ 2024-02-17 19:19 UTC (permalink / raw)
  To: 69348

* gnu/packages/databases (sqls): Add missing inputs.
[native-inputs]: Add go-github-com-google-go-cmp-cmp and
go-github-com-k0kubun-pp.

* gnu/packages/databases: Add (gnu packages golang-xyz) module.
---
 gnu/packages/databases.scm | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 5169795404..d20ca0b298 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -62,6 +62,7 @@
 ;;; Copyright © 2023 Felix Gruber <felgru@posteo.ne
 ;;; Copyright © 2023 Munyoki Kilyungi <me@bonfacemunyoki.com>
 ;;; Copyright © 2023 Giacomo Leidi <goodoldpaul@autistici.org>
+;;; Copyright © 2024 Troy Figiel <troy@troyfigiel.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -110,6 +111,7 @@ (define-module (gnu packages databases)
   #:use-module (gnu packages golang-build)
   #:use-module (gnu packages golang-check)
   #:use-module (gnu packages golang-web)
+  #:use-module (gnu packages golang-xyz)
   #:use-module (gnu packages gperf)
   #:use-module (gnu packages gtk)
   #:use-module (gnu packages guile)
@@ -5252,6 +5254,8 @@ (define-public sqls
                   go-github-com-mattn-go-runewidth
                   go-golang-org-x-xerrors
                   go-gopkg-in-yaml-v2))
+    (native-inputs (list go-github-com-google-go-cmp-cmp
+                         go-github-com-k0kubun-pp))
     (synopsis "SQL language server written in Go")
     (description
      "This package implements the @acronym{LSP, Language Server Protocol} for SQL.")
-- 
2.42.0





^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [bug#69348] [PATCH 0/2] gnu: sqls: Add missing inputs.
@ 2024-02-24  9:31 Troy Figiel
  2024-02-17 19:11 ` [bug#69348] [PATCH 1/2] gnu: Add go-github-com-k0kubun-pp Troy Figiel
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Troy Figiel @ 2024-02-24  9:31 UTC (permalink / raw)
  To: 69348

This patch series adds go-github-com-k0kubun-pp and adds two missing native inputs to sqls.

Troy Figiel (2):
  gnu: Add go-github-com-k0kubun-pp.
  gnu: sqls: Add missing inputs.

 gnu/packages/databases.scm  |  4 ++++
 gnu/packages/golang-xyz.scm | 27 +++++++++++++++++++++++++++
 2 files changed, 31 insertions(+)


base-commit: c0f88cd18649c31c75bcddf8247b14ef3e3a66a5
-- 
2.42.0





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#69348: [PATCH 0/2] gnu: sqls: Add missing inputs.
  2024-02-24  9:31 [bug#69348] [PATCH 0/2] gnu: sqls: Add missing inputs Troy Figiel
  2024-02-17 19:11 ` [bug#69348] [PATCH 1/2] gnu: Add go-github-com-k0kubun-pp Troy Figiel
  2024-02-17 19:19 ` [bug#69348] [PATCH 2/2] gnu: sqls: Add missing inputs Troy Figiel
@ 2024-03-07  0:01 ` Sharlatan Hellseher
  2 siblings, 0 replies; 4+ messages in thread
From: Sharlatan Hellseher @ 2024-03-07  0:01 UTC (permalink / raw)
  To: 69348-done

[-- Attachment #1: Type: text/plain, Size: 54 bytes --]


Pushed as 15b96de852..48b8655667 to master.

--
Oleg

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-03-07  0:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-24  9:31 [bug#69348] [PATCH 0/2] gnu: sqls: Add missing inputs Troy Figiel
2024-02-17 19:11 ` [bug#69348] [PATCH 1/2] gnu: Add go-github-com-k0kubun-pp Troy Figiel
2024-02-17 19:19 ` [bug#69348] [PATCH 2/2] gnu: sqls: Add missing inputs Troy Figiel
2024-03-07  0:01 ` bug#69348: [PATCH 0/2] " Sharlatan Hellseher

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.