guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

18/26: gnu: sqls: Use go-1.21.


From: guix-commits
Subject: 18/26: gnu: sqls: Use go-1.21.
Date: Tue, 7 May 2024 18:24:52 -0400 (EDT)

sharlatan pushed a commit to branch master
in repository guix.

commit c7bd735bc496223caadc13f90f7aa3b598485c64
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Sat May 4 23:10:08 2024 +0100

    gnu: sqls: Use go-1.21.
    
    Merge all inputs into native-inputs since the output result of the
    package is an executable that does not require sources from Golang
    modules to be available after installation.
    
    * gnu/packages/databases.scm (sqls):
    [arguments]: <#:go>: Use go-1.21.
    [inputs]: Remove go-github-com-go-sql-driver-mysql,
    go-github-com-lib-pq, go-github-com-mattn-go-runewidth,
    go-github-com-mattn-go-sqlite3, go-github-com-olekukonko-tablewriter,
    go-github-com-pkg-errors, go-github-com-sourcegraph-jsonrpc2,
    go-golang-org-x-crypto, go-golang-org-x-xerrors, and
    go-gopkg-in-yaml-v2.
    [native-inputs]: Add go-github-com-go-sql-driver-mysql,
    go-github-com-lib-pq, go-github-com-mattn-go-runewidth,
    go-github-com-mattn-go-sqlite3, go-github-com-olekukonko-tablewriter,
    go-github-com-pkg-errors, go-github-com-sourcegraph-jsonrpc2,
    go-golang-org-x-crypto, go-golang-org-x-xerrors, and
    go-gopkg-in-yaml-v2.
    
    Change-Id: I9312a483dfa954b5f0ad4cfac04b5153570bf571
---
 gnu/packages/databases.scm | 28 ++++++++++++++++------------
 1 file changed, 16 insertions(+), 12 deletions(-)

diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 234f30e857..7759195ed5 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -5442,6 +5442,8 @@ compatible with SQLite using a graphical user interface.")
 (define-public sqls
   (package
     (name "sqls")
+    ;; TODO: The latest version requires a way more packages to be available
+    ;; in Guix.
     (version "0.2.18")
     (source (origin
               (method git-fetch)
@@ -5455,20 +5457,22 @@ compatible with SQLite using a graphical user 
interface.")
     (build-system go-build-system)
     (arguments
      (list
+      #:go go-1.21
       #:install-source? #f
       #:import-path "github.com/lighttiger2505/sqls"))
-    (inputs (list go-github-com-go-sql-driver-mysql
-                  go-github-com-lib-pq
-                  go-github-com-mattn-go-runewidth
-                  go-github-com-mattn-go-sqlite3
-                  go-github-com-olekukonko-tablewriter
-                  go-github-com-pkg-errors
-                  go-github-com-sourcegraph-jsonrpc2
-                  go-golang-org-x-crypto
-                  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))
+    (native-inputs
+     (list go-github-com-google-go-cmp-cmp
+           go-github-com-go-sql-driver-mysql
+           go-github-com-k0kubun-pp
+           go-github-com-lib-pq
+           go-github-com-mattn-go-runewidth
+           go-github-com-mattn-go-sqlite3
+           go-github-com-olekukonko-tablewriter
+           go-github-com-pkg-errors
+           go-github-com-sourcegraph-jsonrpc2
+           go-golang-org-x-crypto
+           go-golang-org-x-xerrors
+           go-gopkg-in-yaml-v2))
     (home-page "https://github.com/sqls-server/sqls";)
     (synopsis "SQL language server written in Go")
     (description



reply via email to

[Prev in Thread] Current Thread [Next in Thread]