From patchwork Wed May 29 00:36:36 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hamzeh Nasajpour X-Patchwork-Id: 14128 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 AF46717052; Wed, 29 May 2019 01:37:10 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 5415317051 for ; Wed, 29 May 2019 01:37:10 +0100 (BST) Received: from localhost ([127.0.0.1]:44794 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hVmab-0000Pb-QS for patchwork@mira.cbaines.net; Tue, 28 May 2019 20:37:09 -0400 Received: from eggs.gnu.org ([209.51.188.92]:40901) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hVmaY-0000OA-0v for guix-patches@gnu.org; Tue, 28 May 2019 20:37:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hVmaW-0001vp-Ra for guix-patches@gnu.org; Tue, 28 May 2019 20:37:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44223) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hVmaW-0001vh-OU for guix-patches@gnu.org; Tue, 28 May 2019 20:37:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hVmaW-0006B2-Ka for guix-patches@gnu.org; Tue, 28 May 2019 20:37:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#35978] [PATCH 46/47] gnu: Add python-json-logger. Resent-From: "h.nasajpour" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 29 May 2019 00:37:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 35978 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 35978@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.155909020823675 (code B ref -1); Wed, 29 May 2019 00:37:04 +0000 Received: (at submit) by debbugs.gnu.org; 29 May 2019 00:36:48 +0000 Received: from localhost ([127.0.0.1]:57761 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hVmaF-00069m-8L for submit@debbugs.gnu.org; Tue, 28 May 2019 20:36:48 -0400 Received: from eggs.gnu.org ([209.51.188.92]:54594) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hVmaD-00069a-Ic for submit@debbugs.gnu.org; Tue, 28 May 2019 20:36:45 -0400 Received: from lists.gnu.org ([209.51.188.17]:41692) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hVma8-0001gb-Eq for submit@debbugs.gnu.org; Tue, 28 May 2019 20:36:40 -0400 Received: from eggs.gnu.org ([209.51.188.92]:40740) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hVma7-000094-Al for guix-patches@gnu.org; Tue, 28 May 2019 20:36:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hVma6-0001fI-8O for guix-patches@gnu.org; Tue, 28 May 2019 20:36:39 -0400 Received: from 37.59.236.227.rdns.hasaserver.com ([37.59.236.227]:55899 helo=hamzeh-VirtualBox.Home) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hVma5-0001ed-Nf for guix-patches@gnu.org; Tue, 28 May 2019 20:36:38 -0400 Received: by hamzeh-VirtualBox.Home (Postfix, from userid 0) id 3BE8D1A154B; Wed, 29 May 2019 05:06:37 +0430 (+0430) From: "h.nasajpour" Date: Wed, 29 May 2019 05:06:36 +0430 Message-Id: <20190529003636.3364-1-h.nasajpour@pantherx.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: References: X-detected-operating-system: by eggs.gnu.org: Windows NT kernel [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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: , Cc: "h.nasajpour" 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 variable. --- gnu/packages/python-xyz.scm | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index e47e5bbcd2..b2ebc79283 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -15555,3 +15555,22 @@ by Igor Pavlov.") "persist-queue implements a file-based queue and a serial of sqlite3-based queues") (license license:bsd-2))) +(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) + (arguments + `( + #:tests? #f + )) + (home-page "https://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:expat))) +