From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 SEeVEuly/GEvdgEAgWs5BA (envelope-from ) for ; Fri, 04 Feb 2022 01:27:21 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id eFtPD+ly/GFOTwAAauVa8A (envelope-from ) for ; Fri, 04 Feb 2022 01:27:21 +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 DF04918D43 for ; Fri, 4 Feb 2022 01:27:20 +0100 (CET) Received: from localhost ([::1]:48614 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nFmRc-0001vH-2n for larch@yhetil.org; Thu, 03 Feb 2022 19:27:20 -0500 Received: from eggs.gnu.org ([209.51.188.92]:36900) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nFmQN-0001r3-Un for guix-patches@gnu.org; Thu, 03 Feb 2022 19:26:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:36198) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nFmQN-00028p-Lf for guix-patches@gnu.org; Thu, 03 Feb 2022 19:26:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nFmQN-00008d-J8 for guix-patches@gnu.org; Thu, 03 Feb 2022 19:26:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53765] [PATCH 10/17] 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: Fri, 04 Feb 2022 00:26:03 +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 Received: via spool by 53765-submit@debbugs.gnu.org id=B53765.1643934333440 (code B ref 53765); Fri, 04 Feb 2022 00:26:03 +0000 Received: (at 53765) by debbugs.gnu.org; 4 Feb 2022 00:25:33 +0000 Received: from localhost ([127.0.0.1]:58318 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nFmPs-000071-Ls for submit@debbugs.gnu.org; Thu, 03 Feb 2022 19:25:32 -0500 Received: from mout-p-101.mailbox.org ([80.241.56.151]:43408) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nFmPq-00006i-Qd for 53765@debbugs.gnu.org; Thu, 03 Feb 2022 19:25:31 -0500 Received: from smtp1.mailbox.org (smtp1.mailbox.org [IPv6:2001:67c:2050:105:465:1:1: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-101.mailbox.org (Postfix) with ESMTPS id 4Jqbsd1JNBz9sQX for <53765@debbugs.gnu.org>; Fri, 4 Feb 2022 01:25:25 +0100 (CET) X-Virus-Scanned: amavisd-new at heinlein-support.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=reilysiegel.com; s=MBO0001; t=1643934322; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=3KmLrmur2zISh5hQotLwnGnzjCyRGfJNh1b4HzTbf5U=; b=sLlw+w0UNkqjnLS0yBYYxze3zhQZAiOJLkUokORfDMIhySptBTQjFzr1JmIqE5h1WYhaZE zwWjORgx6iCSTxNaz98E0plftWhziQqvKaK2sqtnkFaGXn5tzgaYISkXsF5USWrih1QpS6 BRrLeH+s4YZDppOMJgi21DDpJ8nBjYeJVvcJ+CwgwJI0C/U7P6QcyOK5ptQlDqE0Dej40d SuhqIVrAsDxPoxrKNHUvGIIEvNMPScdde95lG3KO86vfRU//FW7JCrHuzekrWgC6zLszqm bW+nY+vj5CuAJGJThNKDChRi3kVIm/p+Q/S/OBGogCy7X5LWuBgJjR26BVQgOA== From: Reily Siegel Date: Thu, 03 Feb 2022 19:25:18 -0500 Message-ID: <87k0eb32c1.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-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1643934440; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=3KmLrmur2zISh5hQotLwnGnzjCyRGfJNh1b4HzTbf5U=; b=VydgcSoSMQva0FM7oDJwoQhAF/94Fa1V6fCMSS5lijdv6bxz91/0x/MOI1EDVtdcELEYNb luBH5Q1/+sCLobGwR7eQ9O7xpXc6VMTsUwBTctbcUGeY+u9nxQEaUokrPMjWURObcWVweO GvYuIFY1Ro6mQRvhSx18C3APK8mnozD0thdTnt+bbYUZWenzXrwKcsABRvBOiYKUkBJZ3L DEdQHmgfyXkqKq84OAS8w9HhOhQcqEZdjiKgrKcfxXgEt0Voy4yLM7g1724JTjMlhV47zS py5mcaDjccUP1YwjaIQmcjDM+dTraQi3MQH2e1xObWPMRSodYQR3dC8oeaZ2yw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1643934440; a=rsa-sha256; cv=none; b=Q0owFSy6rixCudvPuoGairxeBzso+aWSnE1k591wvUYiHO4C2QILpIxf06XD9mGO0ywZkV 23OV+SnbElyGzNk89Qd6hDWzA9WDbDWh6qNF+5TSE9unWc/8mvaVKKqxxiXilm+bY70UqU jPCXZH+SHp16jLhN80K1tSt1ZtFbdjSTYaYXp/BUutMSrKLpMErXhogiwBhVgyTJzEAh95 peOQXHYsoDmv5BiXkOxv7dXVQCXnwkEvOJ3ypfunRv79xFPzbbXX9hUpFyp6qg7rS3Tvfc sga81CWNj1xEjPNXxqhlHfIuxpZXOHdXR9N81XJeWBoybqhPLRlM5Xqk3VVrig== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=reilysiegel.com header.s=MBO0001 header.b=sLlw+w0U; 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: -3.53 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=reilysiegel.com header.s=MBO0001 header.b=sLlw+w0U; 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: DF04918D43 X-Spam-Score: -3.53 X-Migadu-Scanner: scn0.migadu.com X-TUID: Wd/pnXuSXQDS * gnu/packages/clojure.scm (clojure-tools-logging): New variable. --- gnu/packages/clojure.scm | 60 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) diff --git a/gnu/packages/clojure.scm b/gnu/packages/clojure.scm index 4cd50483e3..360d86f6ab 100644 --- a/gnu/packages/clojure.scm +++ b/gnu/packages/clojure.scm @@ -811,3 +811,63 @@ (define-public clojure-tools-gitlibs indicated by git SHAs. This library provides this functionality and also 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 + #: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") + (version "1.3.6") + (home-page "https://github.com/clojure/tools.reader") + (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 + "0rcqq024ysz5g2ad8g6jvhnlpwqym58hd1mywl8c4v3x5628d028")))) + (build-system clojure-build-system) + (arguments + '(#:source-dirs '("src/main/clojure") + #:test-dirs '("src/test/clojure") + #:doc-dirs '() + ;; Tests are not well formed clojure namespaces. + #:tests? #f)) + (synopsis "Clojure reader in Clojure") + (description "A complete Clojure reader and an EDN-only reader, works with +Clojure versions >= 1.4.0 and Clojurescript >=0.5308 and since version +0.10.0-alpha1.") + (license license:epl1.0))) -- 2.34.0