From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:51602) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hbRJg-0008QD-Bb for guix-patches@gnu.org; Thu, 13 Jun 2019 11:07:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hbRJe-0001hI-Bz for guix-patches@gnu.org; Thu, 13 Jun 2019 11:07:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50547) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hbRJe-0001h4-8M for guix-patches@gnu.org; Thu, 13 Jun 2019 11:07:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hbRJe-0004Ax-11 for guix-patches@gnu.org; Thu, 13 Jun 2019 11:07:02 -0400 Subject: [bug#36194] [PATCH 03/10] gnu: Add python-crate. Resent-Message-ID: From: Pierre Langlois Date: Thu, 13 Jun 2019 16:06:21 +0100 Message-Id: <20190613150627.1882-3-pierre.langlois@gmx.com> In-Reply-To: <20190613150627.1882-1-pierre.langlois@gmx.com> References: <20190613150126.17280-1-pierre.langlois@gmx.com> <20190613150627.1882-1-pierre.langlois@gmx.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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: 36194@debbugs.gnu.org * gnu/packages/databases.scm (python-crate): New variable. =2D-- gnu/packages/databases.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index 09a262d139..54cec24d8d 100644 =2D-- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -34,6 +34,7 @@ ;;; Copyright =C2=A9 2018 Joshua Sierles, Nextjournal ;;; Copyright =C2=A9 2018 Maxim Cournoyer ;;; Copyright =C2=A9 2019 Jack Hill +;;; Copyright =C2=A9 2019 Pierre Langlois ;;; ;;; This file is part of GNU Guix. ;;; @@ -90,6 +91,7 @@ #:use-module (gnu packages popt) #:use-module (gnu packages python) #:use-module (gnu packages python-crypto) + #:use-module (gnu packages python-web) #:use-module (gnu packages python-xyz) #:use-module (gnu packages rdf) #:use-module (gnu packages readline) @@ -3082,3 +3084,26 @@ NumPy, and other traditional Python scientific comp= uting packages.") (define-public python2-pyarrow (package-with-python2 python-pyarrow)) + +(define-public python-crate + (package + (name "python-crate") + (version "0.23.0") + (source (origin + (method url-fetch) + (uri (pypi-uri "crate" version)) + (sha256 + (base32 + "0s3s7yg4m2zflg9q96aibwb5hizsn10ql63fsj6h5z624qkavnlp")))= ) + (build-system python-build-system) + (propagated-inputs + `(("python-urllib3" ,python-urllib3))) + (home-page "https://github.com/crate/crate-python") + (synopsis "CrateDB Python client") + (description + "A Python client library for CrateDB. +@itemize +@item Implements the Python DB API 2.0 specification +@item Includes support for SQLAlchemy (>=3D 1.0.0) +@end itemize") + (license license:asl2.0))) =2D- 2.22.0