~ruther/guix-local

27adf51a581772dca6cd99ffa0a43f8f748c7a7e — Sharlatan Hellseher 1 year, 11 months ago 40d697a
gnu: sqls: Fix home and source URL.

* gnu/packages/databases.scm (sqls): Place [home-page] after
[native-inputs].
[source]: Swap to use direct source URL string instead of home page.
[arguments]: Use list format. Set <#:install-source?> to #t.
[home-page]: Fix URL after lint permanent redirect warning.
[inputs]: Sort alphabetically.

Change-Id: I50f1c9b38efb5774f6d95d79c4f5f8e1774fd75e
1 files changed, 6 insertions(+), 4 deletions(-)

M gnu/packages/databases.scm
M gnu/packages/databases.scm => gnu/packages/databases.scm +6 -4
@@ 5352,11 5352,10 @@ compatible with SQLite using a graphical user interface.")
  (package
    (name "sqls")
    (version "0.2.18")
    (home-page "https://github.com/lighttiger2505/sqls")
    (source (origin
              (method git-fetch)
              (uri (git-reference
                    (url home-page)
                    (url "https://github.com/sqls-server/sqls")
                    (commit (string-append "v" version))))
              (file-name (git-file-name name version))
              (sha256


@@ 5364,19 5363,22 @@ compatible with SQLite using a graphical user interface.")
                "13837v27avdp2nls3vyy7ml12nj7rxragchwf92adn10ffp4aj6c"))))
    (build-system go-build-system)
    (arguments
     '(#:import-path "github.com/lighttiger2505/sqls"))
     (list
      #: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-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))
    (home-page "https://github.com/sqls-server/sqls")
    (synopsis "SQL language server written in Go")
    (description
     "This package implements the @acronym{LSP, Language Server Protocol} for SQL.")