unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#52930] [PATCH] gnu: Add sqlitebrowser.
@ 2022-01-01 10:23 Zhu Zihao
       [not found] ` <handler.52930.B.164103268926135.ack@debbugs.gnu.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Zhu Zihao @ 2022-01-01 10:23 UTC (permalink / raw)
  To: 52930


[-- Attachment #1.1: Type: text/plain, Size: 0 bytes --]



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

[-- Attachment #2: 0001-gnu-Add-sqlitebrowser.patch --]
[-- Type: text/x-patch, Size: 2833 bytes --]

From d75eb814e3b7c214218bef2dc9cc5960fb2e5f3f Mon Sep 17 00:00:00 2001
From: Zhu Zihao <all_but_last@163.com>
Date: Sat, 1 Jan 2022 14:48:07 +0800
Subject: [PATCH] gnu: Add sqlitebrowser.

* gnu/packages/databases.scm (sqlitebrowser): New variable.
---
 gnu/packages/databases.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index e81d4f0e74..4b7ae6f251 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -54,6 +54,7 @@
 ;;; Copyright © 2021 Alexandre Hannud Abdo <abdo@member.fsf.org>
 ;;; Copyright © 2021 Simon Tournier <zimon.toutoune@gmail.com>
 ;;; Copyright © 2021 jgart <jgart@dismail.de>
+;;; Copyright © 2022 Zhu Zihao <all_but_last@163.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -130,6 +131,7 @@ (define-module (gnu packages databases)
   #:use-module (gnu packages python-science)
   #:use-module (gnu packages python-web)
   #:use-module (gnu packages python-xyz)
+  #:use-module (gnu packages qt)
   #:use-module (gnu packages rdf)
   #:use-module (gnu packages readline)
   #:use-module (gnu packages regex)
@@ -165,6 +167,7 @@ (define-module (gnu packages databases)
   #:use-module (guix build-system ruby)
   #:use-module (guix build-system cmake)
   #:use-module (guix build-system scons)
+  #:use-module (guix build-system qt)
   #:use-module (guix build-system trivial)
   #:use-module (guix utils)
   #:use-module (srfi srfi-1)
@@ -4160,3 +4163,33 @@ (define-public sequeler
 a Gtk.Grid Widget.")
     (home-page "https://github.com/Alecaddd/sequeler")
     (license license:gpl2+)))
+
+(define-public sqlitebrowser
+  (package
+    (name "sqlitebrowser")
+    (version "3.12.2")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/sqlitebrowser/sqlitebrowser")
+             (commit (string-append "v" version))))
+       (sha256
+        (base32 "1ljqzcx388mmni8lv9jz5r58alhsjrrqi4nzjnbfki94rn4ray6z"))
+       (file-name (git-file-name name version))))
+    (build-system qt-build-system)
+    (arguments
+     (list #:tests? #f                  ; no tests
+           #:configure-flags
+           ;; TODO: Unbundle QHexEdit, QScintilla.
+           #~(list "-DFORCE_INTERNAL_QCUSTOMPLOT=OFF")))
+    (inputs (list qtbase-5 qcustomplot sqlite))
+    (native-inputs (list qttools))
+    (home-page "https://sqlitebrowser.org/")
+    (synopsis "Database browser for SQLite")
+    (description "Sqlitebrowser is a high quaility, visual, open source tool to
+create design, and edit database file compatible with SQLite.")
+    (license
+     ;; dual license
+     (list license:gpl3+
+           license:mpl2.0))))
-- 
2.34.0


[-- Attachment #3: Type: text/plain, Size: 100 bytes --]


-- 
Retrieve my PGP public key:

  gpg --recv-keys D47A9C8B2AE3905B563D9135BE42B352A9F6821F

Zihao

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

* [bug#52930] Acknowledgement ([PATCH] gnu: Add sqlitebrowser.)
       [not found] ` <handler.52930.B.164103268926135.ack@debbugs.gnu.org>
@ 2022-01-23 14:28   ` Zhu Zihao
  2022-01-26 11:35     ` bug#52930: " Efraim Flashner
  0 siblings, 1 reply; 3+ messages in thread
From: Zhu Zihao @ 2022-01-23 14:28 UTC (permalink / raw)
  To: 52930

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

ping.
-- 
Retrieve my PGP public key:

  gpg --recv-keys D47A9C8B2AE3905B563D9135BE42B352A9F6821F

Zihao

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

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

* bug#52930: Acknowledgement ([PATCH] gnu: Add sqlitebrowser.)
  2022-01-23 14:28   ` [bug#52930] Acknowledgement ([PATCH] gnu: Add sqlitebrowser.) Zhu Zihao
@ 2022-01-26 11:35     ` Efraim Flashner
  0 siblings, 0 replies; 3+ messages in thread
From: Efraim Flashner @ 2022-01-26 11:35 UTC (permalink / raw)
  To: Zhu Zihao; +Cc: 52930-done

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

Package pushed. Thanks!

On Sun, Jan 23, 2022 at 10:28:26PM +0800, Zhu Zihao wrote:
> ping.
> -- 
> Retrieve my PGP public key:
> 
>   gpg --recv-keys D47A9C8B2AE3905B563D9135BE42B352A9F6821F
> 
> Zihao



-- 
Efraim Flashner   <efraim@flashner.co.il>   רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

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

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

end of thread, other threads:[~2022-01-26 11:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-01 10:23 [bug#52930] [PATCH] gnu: Add sqlitebrowser Zhu Zihao
     [not found] ` <handler.52930.B.164103268926135.ack@debbugs.gnu.org>
2022-01-23 14:28   ` [bug#52930] Acknowledgement ([PATCH] gnu: Add sqlitebrowser.) Zhu Zihao
2022-01-26 11:35     ` bug#52930: " Efraim Flashner

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).