From patchwork Sat Mar 21 11:26:25 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tanguy LE CARROUR X-Patchwork-Id: 20811 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id D4FB327BBEA; Sat, 21 Mar 2020 11:28:23 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 7301427BBE4 for ; Sat, 21 Mar 2020 11:28:23 +0000 (GMT) Received: from localhost ([::1]:35280 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jFcIg-0005vS-U5 for patchwork@mira.cbaines.net; Sat, 21 Mar 2020 07:28:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60304) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jFcIP-0005bh-K0 for guix-patches@gnu.org; Sat, 21 Mar 2020 07:28:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jFcIO-0006Vi-Aq for guix-patches@gnu.org; Sat, 21 Mar 2020 07:28:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:40074) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jFcIO-0006VF-7J 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-0001MK-5M for guix-patches@gnu.org; Sat, 21 Mar 2020 07:28:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#39777] [PATCH V5 10/14] gnu: Add python-json-logger. Resent-From: Tanguy Le Carrour Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 21 Mar 2020 11:28:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39777 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 39777@debbugs.gnu.org Cc: Tanguy Le Carrour Received: via spool by 39777-submit@debbugs.gnu.org id=B39777.15847900295105 (code B ref 39777); Sat, 21 Mar 2020 11:28:04 +0000 Received: (at 39777) by debbugs.gnu.org; 21 Mar 2020 11:27:09 +0000 Received: from localhost ([127.0.0.1]:46037 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jFcHV-0001KA-0P for submit@debbugs.gnu.org; Sat, 21 Mar 2020 07:27:09 -0400 Received: from relay9-d.mail.gandi.net ([217.70.183.199]:52331) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jFcHR-0001HO-QW for 39777@debbugs.gnu.org; Sat, 21 Mar 2020 07:27:06 -0400 X-Originating-IP: 176.185.184.238 Received: from localhost.localdomain (static-176-185-184-238.ftth.abo.bbox.fr [176.185.184.238]) (Authenticated sender: tanguy@bioneland.org) by relay9-d.mail.gandi.net (Postfix) with ESMTPSA id 0FEDDFF80D; Sat, 21 Mar 2020 11:26:59 +0000 (UTC) From: Tanguy Le Carrour Date: Sat, 21 Mar 2020 12:26:25 +0100 Message-Id: <20200321112629.20988-10-tanguy@bioneland.org> X-Mailer: git-send-email 2.25.2 In-Reply-To: <20200321112629.20988-1-tanguy@bioneland.org> References: <20200321112629.20988-1-tanguy@bioneland.org> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-xyz.scm (python-json-logger): New public variable. --- gnu/packages/python-xyz.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index e27fea1957..33d41a294c 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -18412,3 +18412,24 @@ attributes. Extended attributes extend the basic attributes of files and directories in the file system. They are stored as name:data pairs associated with file system objects (files, directories, symlinks, etc).") (license license:expat))) + +(define-public python-json-logger + (package + (name "python-json-logger") + (version "0.1.11") + (source + (origin + (method url-fetch) + (uri (pypi-uri "python-json-logger" version)) + (sha256 + (base32 + "10g2ya6nsvn5vxzvq2wb8q4d43i3d7756i5rxyjna6d0y9i138xp")))) + (build-system python-build-system) + (home-page + "http://github.com/madzak/python-json-logger") + (synopsis + "A python library adding a json log formatter") + (description "This library is provided to allow standard python logging to +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)))