From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id MPlJBQcs0GFKIQEAgWs5BA (envelope-from ) for ; Sat, 01 Jan 2022 11:25:11 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id yFmpAgcs0GGTDAAA9RJhRA (envelope-from ) for ; Sat, 01 Jan 2022 11:25:11 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 45C632F4C8 for ; Sat, 1 Jan 2022 11:25:09 +0100 (CET) Received: from localhost ([::1]:46772 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n3bZU-0005UG-0K for larch@yhetil.org; Sat, 01 Jan 2022 05:25:08 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41658) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n3bZO-0005U8-DO for guix-patches@gnu.org; Sat, 01 Jan 2022 05:25:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:46271) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n3bZO-000612-1F for guix-patches@gnu.org; Sat, 01 Jan 2022 05:25:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n3bZN-0006o2-Ux for guix-patches@gnu.org; Sat, 01 Jan 2022 05:25:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#52930] [PATCH] gnu: Add sqlitebrowser. Resent-From: Zhu Zihao Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 01 Jan 2022 10:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 52930 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 52930@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.164103268926135 (code B ref -1); Sat, 01 Jan 2022 10:25:01 +0000 Received: (at submit) by debbugs.gnu.org; 1 Jan 2022 10:24:49 +0000 Received: from localhost ([127.0.0.1]:57817 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n3bZB-0006nT-82 for submit@debbugs.gnu.org; Sat, 01 Jan 2022 05:24:49 -0500 Received: from lists.gnu.org ([209.51.188.17]:48430) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n3bZ7-0006nH-4i for submit@debbugs.gnu.org; Sat, 01 Jan 2022 05:24:47 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41614) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n3bZ6-0005Tn-W4 for guix-patches@gnu.org; Sat, 01 Jan 2022 05:24:45 -0500 Received: from mail-m972.mail.163.com ([123.126.97.2]:35821) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n3bYx-0005xQ-Qm for guix-patches@gnu.org; Sat, 01 Jan 2022 05:24:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-ID:MIME-Version; bh=smnxW gXSjBL3gdrJMmMeCYmMe4qHw6yk3458aU3JtdQ=; b=oTJO9m8PYBaKFJPJBoZ2h ZvZi8zwl16sXaifYjtxHsAdQteYKqop/e53QaRBzQ586wdNLjWDkXMwm6fTwR22X Ij7EuLyA3Nix2hIxRlQAN2rwQCwHYxIOZbIvxCWDLM1MwrDWdqiff7khwflMOLJC WXM9xD0fzcJbd/r4Igj6B4= Received: from asus-laptop (unknown [163.125.202.252]) by smtp2 (Coremail) with SMTP id GtxpCgCHn+fbK9BhFZF_PA--.782S2; Sat, 01 Jan 2022 18:24:27 +0800 (CST) User-agent: mu4e 1.6.10; emacs 27.2 From: Zhu Zihao Date: Sat, 01 Jan 2022 18:23:59 +0800 Message-ID: <86a6gfg3dz.fsf@163.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-CM-TRANSID: GtxpCgCHn+fbK9BhFZF_PA--.782S2 X-Coremail-Antispam: 1Uf129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7v73 VFW2AGmfu7bjvjm3AaLaJ3UbIYCTnIWIevJa73UjIFyTuYvjxUOjjyDUUUU X-Originating-IP: [163.125.202.252] X-CM-SenderInfo: pdoosuxxwbztlvw6il2tof0z/xtbBPRx7r2AY+TBubAAAsG Received-SPF: pass client-ip=123.126.97.2; envelope-from=all_but_last@163.com; helo=mail-m972.mail.163.com X-Spam_score_int: -1 X-Spam_score: -0.2 X-Spam_bar: / X-Spam_report: (-0.2 / 5.0 requ) DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1641032710; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=smnxWgXSjBL3gdrJMmMeCYmMe4qHw6yk3458aU3JtdQ=; b=ERSapcGh2KtfQHiyUhr7UHdQi6etmyd42b/cN2O+qvruDr3vfkvI/tA7hLALvs9hwBNapd f8nCNNTLUoOLoC4Cf96CfJ8um8NbCyTXDptWbdkT/meMd0idUvexzyWvMsX96NwFFXFOSK 9rDE+oGcQOq7A+uVuWI6RK02LGQhS452+UIbuRhYuWJoq4+GuW8PkCjhrEhCMPDpuRpqGx e/uzHdcF/djEP6kTe6f8QSJSBmZuxexn2+Oxor8j/qxfVLGrA/+kv4VpxEGxEX4aPt/2Wy rcYCS811JzwAGwgsB1wh+/pbIBYoJE5mp6Sr+2iwEVraoFpkSs15hmtIeKkylA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1641032710; a=rsa-sha256; cv=none; b=MtKdQ2wA78NDkbyI9vzlLO5+MxMiXcDjY5xCB5JIMpvIkPYxUvGxvTy/ADG7tEL/ARMYbv Gb4/lgam/xf9rd98D1s0+JbIr232mdip3jLY5VNIZBPYm0ynWIbK9wWY56i8tFpCXvN/gf o4ldS3pio9TofahQu/yTRLMj7B0oiSGQg+ZZDTzcpk0QoeE73xzSczbPW6BRRViTFUDObV vD9ckL7xtzSLLWAnQQXwOYKQB6yYCw0mepDhv6clbrV4aal+kECWbqei73SHU5J59+lAPY tMTW8rL9JWl9ZhQxlP4Y5ap9ZQYMNncfkmhqZXN3woxnvuUL3YAKiqpIH6Xf3g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=163.com header.s=s110527 header.b=oTJO9m8P; dmarc=fail reason="SPF not aligned (relaxed)" header.from=163.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.58 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=163.com header.s=s110527 header.b=oTJO9m8P; dmarc=fail reason="SPF not aligned (relaxed)" header.from=163.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 45C632F4C8 X-Spam-Score: -2.58 X-Migadu-Scanner: scn0.migadu.com X-TUID: WNxzTi5siZak --=-=-= Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" --==-=-= Content-Type: text/plain --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIsEARYIADMWIQTUepyLKuOQW1Y9kTW+QrNSqfaCHwUCYdAr2BUcYWxsX2J1dF9s YXN0QDE2My5jb20ACgkQvkKzUqn2gh9ghwD+Pk4zEPbuemcgkEoyZu+E/8QwHx3J qgJ9R1jhRFw9yyYA/1E4QTlSdBExhKjdfzBELQyqNvN2FLtcOuAK18wOwWYG =YwSz -----END PGP SIGNATURE----- --==-=-=-- --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline; filename=0001-gnu-Add-sqlitebrowser.patch Content-Transfer-Encoding: quoted-printable >From d75eb814e3b7c214218bef2dc9cc5960fb2e5f3f Mon Sep 17 00:00:00 2001 From: Zhu Zihao 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 =C2=A9 2021 Alexandre Hannud Abdo ;;; Copyright =C2=A9 2021 Simon Tournier ;;; Copyright =C2=A9 2021 jgart +;;; Copyright =C2=A9 2022 Zhu Zihao ;;; ;;; 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=3DOFF"))) + (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 to= ol to +create design, and edit database file compatible with SQLite.") + (license + ;; dual license + (list license:gpl3+ + license:mpl2.0)))) --=20 2.34.0 --=-=-= Content-Type: text/plain -- Retrieve my PGP public key: gpg --recv-keys D47A9C8B2AE3905B563D9135BE42B352A9F6821F Zihao --=-=-=--