[bug#56096,v2,3/3] gnu: databases: Add sqls 0.2.18.
Commit Message
* gnu/packages/databases (sqls): New variable.
---
gnu/packages/databases.scm | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
Comments
Hi
Am Montag, dem 20.06.2022 um 07:22 +0300 schrieb muradm:
> * gnu/packages/databases (sqls): New variable.
> ---
> gnu/packages/databases.scm | 35 +++++++++++++++++++++++++++++++++++
> 1 file changed, 35 insertions(+)
>
> diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
> index 92ab94f453..1c44b0c63e 100644
> --- a/gnu/packages/databases.scm
> +++ b/gnu/packages/databases.scm
> @@ -57,6 +57,7 @@
> ;;; Copyright © 2021 Foo Chuan Wei <chuanwei.foo@hotmail.com>
> ;;; Copyright © 2022 Zhu Zihao <all_but_last@163.com>
> ;;; Copyright © 2021 Brice Waegeneire <brice@waegenei.re>
> +;;; Copyright © 2022 muradm <mail@muradm.net>
> ;;;
> ;;; This file is part of GNU Guix.
> ;;;
> @@ -146,6 +147,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)
Why do we need to use-module syncthing here? Can this contribute
towards a cycle? Should the relevant go package perhaps be moved?
Cheers
Hi,
go-github-com-lib-pq originated from there.
--
muradm
Liliana Marie Prikler <liliana.prikler@ist.tugraz.at> writes:
> Hi
>
> Am Montag, dem 20.06.2022 um 07:22 +0300 schrieb muradm:
>> * gnu/packages/databases (sqls): New variable.
>> ---
>> gnu/packages/databases.scm | 35
>> +++++++++++++++++++++++++++++++++++
>> 1 file changed, 35 insertions(+)
>>
>> diff --git a/gnu/packages/databases.scm
>> b/gnu/packages/databases.scm
>> index 92ab94f453..1c44b0c63e 100644
>> --- a/gnu/packages/databases.scm
>> +++ b/gnu/packages/databases.scm
>> @@ -57,6 +57,7 @@
>> ;;; Copyright © 2021 Foo Chuan Wei <chuanwei.foo@hotmail.com>
>> ;;; Copyright © 2022 Zhu Zihao <all_but_last@163.com>
>> ;;; Copyright © 2021 Brice Waegeneire <brice@waegenei.re>
>> +;;; Copyright © 2022 muradm <mail@muradm.net>
>> ;;;
>> ;;; This file is part of GNU Guix.
>> ;;;
>> @@ -146,6 +147,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)
> Why do we need to use-module syncthing here? Can this
> contribute
> towards a cycle? Should the relevant go package perhaps be
> moved?
>
>
> Cheers
@@ -57,6 +57,7 @@
;;; Copyright © 2021 Foo Chuan Wei <chuanwei.foo@hotmail.com>
;;; Copyright © 2022 Zhu Zihao <all_but_last@163.com>
;;; Copyright © 2021 Brice Waegeneire <brice@waegenei.re>
+;;; Copyright © 2022 muradm <mail@muradm.net>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -146,6 +147,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)
#:use-module (gnu packages tcl)
#:use-module (gnu packages terminals)
#:use-module (gnu packages texinfo)
@@ -4788,3 +4790,36 @@ (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 "An implementation of the Language Server Protocol for SQL")
+ (license license:expat)))