From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:60319) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jFcIQ-0005cv-RQ for guix-patches@gnu.org; Sat, 21 Mar 2020 07:28:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jFcIO-0006WH-Nl for guix-patches@gnu.org; Sat, 21 Mar 2020 07:28:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:40075) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jFcIO-0006W7-KM for guix-patches@gnu.org; Sat, 21 Mar 2020 07:28:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jFcIO-0001MR-I8 for guix-patches@gnu.org; Sat, 21 Mar 2020 07:28:04 -0400 Subject: [bug#39777] [PATCH V5 11/14] gnu: Add python-daiquiri. Resent-Message-ID: From: Tanguy Le Carrour Date: Sat, 21 Mar 2020 12:26:26 +0100 Message-Id: <20200321112629.20988-11-tanguy@bioneland.org> In-Reply-To: <20200321112629.20988-1-tanguy@bioneland.org> References: <20200321112629.20988-1-tanguy@bioneland.org> 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: 39777@debbugs.gnu.org Cc: Tanguy Le Carrour * gnu/packages/python-xyz.scm (python-daiquiri): New public variable. --- gnu/packages/python-xyz.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 33d41a294c..00b031878a 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -18433,3 +18433,29 @@ associated with file system objects (files, directories, symlinks, etc).") output log data as json objects. With JSON we can make our logs more readable by machines and we can stop writing custom parsers for syslog type records.") (license license:bsd-3))) + +(define-public python-daiquiri + (package + (name "python-daiquiri") + (version "2.1.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "daiquiri" version)) + (sha256 + (base32 + "1qmank3c217ddiig3xr8ps0mqaydcp0q5a62in9a9g4zf72zjnqd")))) + (build-system python-build-system) + (propagated-inputs + `(("python-json-logger" ,python-json-logger))) + (native-inputs + `(("python-mock" ,python-mock) + ("python-pytest" ,python-pytest) + ("python-setuptools-scm" ,python-setuptools-scm) + ("python-six" ,python-six))) + (home-page "https://github.com/jd/daiquiri") + (synopsis + "Library to configure Python logging easily") + (description "The daiquiri library provides an easy way to configure +logging. It also provides some custom formatters and handlers.") + (license license:asl2.0))) -- 2.25.2