From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 04 15:32:10 2020 Received: (at submit) by debbugs.gnu.org; 4 Jul 2020 19:32:10 +0000 Received: from localhost ([127.0.0.1]:59697 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jrntO-0006Ez-Ie for submit@debbugs.gnu.org; Sat, 04 Jul 2020 15:32:10 -0400 Received: from lists.gnu.org ([209.51.188.17]:44222) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jrntM-0006Ej-D6 for submit@debbugs.gnu.org; Sat, 04 Jul 2020 15:32:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50744) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jrntM-00081p-69 for guix-patches@gnu.org; Sat, 04 Jul 2020 15:32:04 -0400 Received: from knopi.disroot.org ([178.21.23.139]:56768) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jrntI-0006Aa-0s for guix-patches@gnu.org; Sat, 04 Jul 2020 15:32:03 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id DCDCF55E6B for ; Sat, 4 Jul 2020 21:31:58 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5HJJ5PawK7Bd for ; Sat, 4 Jul 2020 21:31:57 +0200 (CEST) From: guy fleury iteriteka DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1593891117; bh=xecPEhw6lj9he3HziFiLKT/lKEA0V0pww/g2fTh+p70=; h=From:To:Subject:Date:In-Reply-To:References; b=R87/VrD6cKwnQL0fbCBGVrczd283pGUZbbbusvnRrUSRm8Csm/L/uMdrZBqXFo+EF +Q20ltygNPo3LoJovpKoORt4obif/TbhOAl1PFtTry+JvZ1gdXsBLKiuB7swxZpssT sofEhtEU1XVZ5gJiBHOvAG7cxdhQJZqcQJKrq8CBQzryN7nXMNRad943siZst5lGKd 8MAhlMo64LTrTLLREMEulTlnnuFNRBAgWZCIbCletQISlsQkY/FRIcktrsE9472JUX px3qDAbkn3ACT14yoA6NAsiIoWhqcXUi0ZLnWUtQFBPy/Dth+UjftFxASbSQCTDUzg 59/cIik7Q1QEg== To: guix-patches@gnu.org Subject: [PATCH 3/3] gnu: Add mycli. Date: Sat, 4 Jul 2020 21:31:42 +0200 Message-Id: <20200704193142.31083-3-gfleury@disroot.org> In-Reply-To: <20200704193142.31083-1-gfleury@disroot.org> References: <20200704193142.31083-1-gfleury@disroot.org> Mime-Version: 1.0 Content-Type: text/plain; charset=yes Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=178.21.23.139; envelope-from=gfleury@disroot.org; helo=knopi.disroot.org X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/04 15:31:56 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Spam-Score: 0.6 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.4 (/) * gnu/packages/databases.scm(mycli): New variable. --- gnu/packages/databases.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index 2e46f9b..a62eccd 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -42,6 +42,7 @@ ;;; Copyright © 2020 Nicolò Balzarotti ;;; Copyright © 2020 Tanguy Le Carrour ;;; Copyright © 2020 Lars-Dominik Braun +;;; Copyright © 2020 Guy Fleury Iteriteka ;;; ;;; This file is part of GNU Guix. ;;; @@ -3568,3 +3569,34 @@ The drivers officially supported by @code{libdbi} are: PostreSQL, SQLite, ODBC and MySQL.") (home-page "http://soci.sourceforge.net/") (license license:boost1.0))) + +(define-public mycli + (package + (name "mycli") + (version "1.21.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "mycli" version)) + (sha256 + (base32 + "1q9p0yik9cpvpxjs048anvhicfcna84mpl7axv9bwgr48w40lqwg")))) + (build-system python-build-system) + (arguments + `(#:tests? #f)) ; tests expect a running MySQL + (propagated-inputs + `(("python-cli-helpers" ,python-cli-helpers) + ("python-click" ,python-click) + ("python-configobj" ,python-configobj) + ("python-cryptography" ,python-cryptography) + ("python-prompt-toolkit" ,python-prompt-toolkit) + ("python-pygments" ,python-pygments) + ("python-pymysql" ,python-pymysql) + ("python-sqlparse" ,python-sqlparse))) + (home-page "http://mycli.net") + (synopsis + "Terminal Client for MySQL with AutoCompletion and Syntax Highlighting") + (description + "MyCLI is a command line interface for MySQL, MariaDB, and Percona with +auto-completion and syntax highlighting.") + (license license:bsd-3))) -- 2.25.1