From: Zhu Zihao <all_but_last@163.com>
To: 52930@debbugs.gnu.org
Subject: [bug#52930] [PATCH] gnu: Add sqlitebrowser.
Date: Sat, 01 Jan 2022 18:23:59 +0800 [thread overview]
Message-ID: <86a6gfg3dz.fsf@163.com> (raw)
[-- 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
next reply other threads:[~2022-01-01 10:25 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-01 10:23 Zhu Zihao [this message]
[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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86a6gfg3dz.fsf@163.com \
--to=all_but_last@163.com \
--cc=52930@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.