From cec5a522e190447e64a0a0f193bccc67b7095c31 Mon Sep 17 00:00:00 2001 From: muradm Date: Mon, 20 Jun 2022 07:22:39 +0300 Subject: gnu: Add sqls 0.2.18. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/databases (sqls): New variable. Signed-off-by: Ludovic Courtès --- gnu/packages/databases.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index fa852af07d..5ecc1d4aa4 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -57,6 +57,7 @@ ;;; Copyright © 2021 Foo Chuan Wei ;;; Copyright © 2022 Zhu Zihao ;;; Copyright © 2021 Brice Waegeneire +;;; Copyright © 2022 muradm ;;; ;;; This file is part of GNU Guix. ;;; @@ -147,6 +148,7 @@ (define-module (gnu packages databases) #:use-module (gnu packages sphinx) #:use-module (gnu packages ssh) #:use-module (gnu packages sqlite) + #:use-module (gnu packages syncthing) ;for go-github-com-lib-pq #:use-module (gnu packages tcl) #:use-module (gnu packages terminals) #:use-module (gnu packages texinfo) @@ -4789,3 +4791,35 @@ (define-public sqlitebrowser ;; dual license (list license:gpl3+ license:mpl2.0)))) + +(define-public sqls + (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) + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "13837v27avdp2nls3vyy7ml12nj7rxragchwf92adn10ffp4aj6c")))) + (build-system go-build-system) + (arguments + '(#: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-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)) + (synopsis "SQL language server written in Go") + (description + "This package implements the @acronym{LSP, Language Server Protocol} for SQL.") + (license license:expat))) -- cgit v1.2.3