From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id labdF37ZAF9pcgAA0tVLHw (envelope-from ) for ; Sat, 04 Jul 2020 19:33:18 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id cONmE37ZAF80FQAAB5/wlQ (envelope-from ) for ; Sat, 04 Jul 2020 19:33:18 +0000 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 0F11E940656 for ; Sat, 4 Jul 2020 19:33:18 +0000 (UTC) Received: from localhost ([::1]:47730 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jrnuW-0000qG-W9 for larch@yhetil.org; Sat, 04 Jul 2020 15:33:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50920) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jrnuK-0000X7-4p for guix-patches@gnu.org; Sat, 04 Jul 2020 15:33:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48155) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jrnuJ-0006Hi-Qq for guix-patches@gnu.org; Sat, 04 Jul 2020 15:33:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jrnuJ-0006Gh-Ok for guix-patches@gnu.org; Sat, 04 Jul 2020 15:33:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42202] [PATCH 3/3] gnu: Add mycli. Resent-From: guy fleury iteriteka Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 04 Jul 2020 19:33:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 42202 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42202@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.159389113024001 (code B ref -1); Sat, 04 Jul 2020 19:33:03 +0000 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== 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -0.4 (/) 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-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=disroot.org header.s=mail header.b=R87/VrD6; dmarc=fail reason="SPF not aligned (relaxed)" header.from=disroot.org (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: 1.59 X-TUID: 4gMMZzrLOrZO * 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