From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42351) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fap8A-0005eQ-T3 for guix-patches@gnu.org; Wed, 04 Jul 2018 17:16:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fap87-0001R1-8v for guix-patches@gnu.org; Wed, 04 Jul 2018 17:16:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:39146) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fap87-0001Qn-4J for guix-patches@gnu.org; Wed, 04 Jul 2018 17:16:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fap86-0001vN-UY for guix-patches@gnu.org; Wed, 04 Jul 2018 17:16:02 -0400 Subject: [bug#32055] [PATCH 2/2] gnu: Add sqlcrush. Resent-Message-ID: From: Tobias Geerinckx-Rice Date: Wed, 4 Jul 2018 23:15:01 +0200 Message-Id: <20180704211501.26205-2-me@tobias.gr> In-Reply-To: <20180704211501.26205-1-me@tobias.gr> References: <20180704211501.26205-1-me@tobias.gr> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 32055@debbugs.gnu.org * gnu/packages/databases.smc (sqlcrush): New public variable. --- gnu/packages/databases.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index 7357dba81..e01349c52 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -1034,6 +1034,36 @@ for example from a shell script.") ;; others (like sparql-query.c) contain a GPLv2+ license header. (license (list license:gpl3+)))) +(define-public sqlcrush + (let ((commit "b5f6868f189566a26eecc78d0f0659813c1aa98a") + (revision "1")) + (package + (name "sqlcrush") + (version (git-version "0.1.5" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/coffeeandscripts/sqlcrush.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0x3wy40r93p0jv3nbwj9a77wa4ff697d13r0wffmm7q9h3mzsww8")))) + (build-system python-build-system) + (propagated-inputs + `(("python-cryptography" ,python-cryptography) + ("python-psycopg2" ,python-psycopg2) + ("python-pymysql" ,python-pymysql) + ("python-sqlalchemy" ,python-sqlalchemy))) + (home-page "https://github.com/coffeeandscripts/sqlcrush") + (synopsis "Text console-based database viewer and editor") + (description + "SQLcrush lets you view and edit a database directly from the text +console through an ncurses interface. You can explore each table's structure, +browse and edit the contents, add and delete entries, all while tracking your +changes.") + (license license:gpl3+)))) ; no headers, see README.md + (define-public sqlite (package (name "sqlite") -- 2.16.2