From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id YJd1FfDeMWJHWgEAgWs5BA (envelope-from ) for ; Wed, 16 Mar 2022 13:58:24 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id CK3nEvDeMWKhCAAA9RJhRA (envelope-from ) for ; Wed, 16 Mar 2022 13:58:24 +0100 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 AE69C2C5F4 for ; Wed, 16 Mar 2022 13:58:23 +0100 (CET) Received: from localhost ([::1]:45214 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nUTEM-00063d-LV for larch@yhetil.org; Wed, 16 Mar 2022 08:58:22 -0400 Received: from eggs.gnu.org ([209.51.188.92]:59008) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nUT1V-0007Dw-1F for guix-patches@gnu.org; Wed, 16 Mar 2022 08:45:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56681) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nUT1U-0004gz-Mm for guix-patches@gnu.org; Wed, 16 Mar 2022 08:45:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nUT1U-0001ks-Kc for guix-patches@gnu.org; Wed, 16 Mar 2022 08:45:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#53765] [PATCH v2 11/18] gnu: Add clojure-tools-logging. References: <87y22r32hi.fsf@reilysiegel.com> In-Reply-To: <87y22r32hi.fsf@reilysiegel.com> Resent-From: Reily Siegel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 16 Mar 2022 12:45:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53765 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 53765@debbugs.gnu.org Cc: Maxime Devos Received: via spool by 53765-submit@debbugs.gnu.org id=B53765.16474346576517 (code B ref 53765); Wed, 16 Mar 2022 12:45:04 +0000 Received: (at 53765) by debbugs.gnu.org; 16 Mar 2022 12:44:17 +0000 Received: from localhost ([127.0.0.1]:50547 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nUT0i-0001h3-QZ for submit@debbugs.gnu.org; Wed, 16 Mar 2022 08:44:17 -0400 Received: from mout-p-102.mailbox.org ([80.241.56.152]:55188) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nUT0h-0001gL-EI for 53765@debbugs.gnu.org; Wed, 16 Mar 2022 08:44:15 -0400 Received: from smtp2.mailbox.org (smtp2.mailbox.org [IPv6:2001:67c:2050:105:465:1:2:0]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-102.mailbox.org (Postfix) with ESMTPS id 4KJVMY4Kt7z9sQF; Wed, 16 Mar 2022 13:44:09 +0100 (CET) From: Reily Siegel DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=reilysiegel.com; s=MBO0001; t=1647434649; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type; bh=O5HJd3lBE7Sss6CuuSjrUKlOodQLUnIDiV/bszBTV0Y=; b=irOyra9RC95tWEVHklsR/1jq9NNJsLLDYbzg72iXcnJjLc78B9AiKYwjmOXpOKBMDrfGIu sRNVKPh84bgBcprBvyg3Ud0j/03ExReq8IaYl1XbBJhlz2r+lN2+bYQ5eXLbQBxIr7eIt5 TQtDfu6XlgX/WTGCO8+ZSVGktCL/urIBLckZ6NcDcK1AGTsRiMCiH9FSSlh186YUwW9iRu Bdp6WJRddSX5tpA3pBMHBwrhBHfpH5LvHuHA0r99Qgzx0ZXgTf2Md5DBo31wdSZjMnutZl ZZiiE3J5ip8KBO3tmxBiEyYgpy+z5LwJkxMw3/X7kKM6z3ukGDdBao/Vr4GP8w== Date: Wed, 16 Mar 2022 13:44:06 +0100 Message-ID: <87y21acbjd.fsf@reilysiegel.com> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1647435503; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=O5HJd3lBE7Sss6CuuSjrUKlOodQLUnIDiV/bszBTV0Y=; b=CSuiOtMTEPQyWqM3CJse8k4DpUhoNyrBxQjVlirVQg5X57Nt5oUiiedbRygsYmBq+n13iw PyTcD2AJk8tftnzM+4MEUKAwXe87b3U58yX+zNDrImnejl71u/RsCN2nfPA8TuhClEp8Y/ pyl29NsHHACgfkQMawC2KE8YIpzmRRWI5+kBvuJPqi4HjIlG1aMjAaglx8f1RpnJGzXPzx sy4Gy4RJFDs9pLOojtA278VJS98Kdg0SrVRcYJVkfbvjqBCGCrfxI6shR4DozKU9mptmKM NBbmPiM9tybDH9BvN5e+MVi7ocbkDUTrLXUfo5pzOcKzcmgQ5eRlVePaJDJ1+Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1647435503; a=rsa-sha256; cv=none; b=nYwc+ZzikzvR+YDp5BEJ+QUaITdjqDWtsFlVVPw1+/H0q7GFOCkXgZt/RU0i+SBT1CdboH i0c2wLoB4vbP4qmoIPHT0aVhHr0by4ygz4Y9uTBE9BhzDxFMuisGxOMpNRaUREd9JdBDAy +24PR5UlHT/fsDfNGuXNu2XMS3XFsgYeH0sM/qY753ZdlF3bavFKJXuuItKXF025IbCB1E PR5+oDa65jjxsLPOT/r+K1DL4B4jStZy/NxnrvC1X+852STZU06oFPMgSADX4V7UaIAkLL 8rvZIMxBFkkhFFNeYHFI1qCCPgcssplpEeSHK1AjmompUe4pgSO1yrA3ugtt/A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=reilysiegel.com header.s=MBO0001 header.b=irOyra9R; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -0.76 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=reilysiegel.com header.s=MBO0001 header.b=irOyra9R; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: AE69C2C5F4 X-Spam-Score: -0.76 X-Migadu-Scanner: scn0.migadu.com X-TUID: b5CoCb9tdq+J * gnu/packages/clojure.scm (clojure-tools-logging): New variable. --- gnu/packages/clojure.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/clojure.scm b/gnu/packages/clojure.scm index b33cc963ef..29f7401ac3 100644 --- a/gnu/packages/clojure.scm +++ b/gnu/packages/clojure.scm @@ -816,6 +816,40 @@ (define-public clojure-tools-gitlibs keeps a cache of git directories and working trees that can be reused.") (license license:epl1.0))) +(define-public clojure-tools-logging + (package + (name "clojure-tools-logging") + (version "1.2.4") + (home-page "https://github.com/clojure/tools.logging") + (source (origin + (method git-fetch) + (uri (git-reference + (url home-page) + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1vcl1s75amazzdyirnpza8jizp85d5178p0qkqfk26vl7yajvz7a")))) + (build-system clojure-build-system) + (native-inputs (list clojure-test-check + java-slf4j-api + java-slf4j-simple + java-log4j-api + java-log4j-core + java-commons-logging-minimal)) + (arguments + '(#:source-dirs '("src/main/clojure") + #:test-dirs '("src/test/clojure") + #:doc-dirs '() + ;; Tests fail due to issues with clojure.pprint. This is an issue with + ;; how Guix AOT-compiles clojure. + #:tests? #f)) + (synopsis "Clojure logging toolkit") + (description "Logging macros which delegate to a specific logging +implementation, selected at runtime when the @code{clojure.tools.logging} +namespace is first loaded.") + (license license:epl1.0))) + (define-public clojure-tools-reader (package (name "clojure-tools-reader") -- 2.34.0 -- Reily Siegel