From patchwork Sat Sep 7 09:51:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roman Scherer X-Patchwork-Id: 67700 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 611E827BBE2; Sat, 7 Sep 2024 10:53:12 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_VALIDITY_CERTIFIED, RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE,SPF_HELO_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 3FDB327BBEA for ; Sat, 7 Sep 2024 10:53:11 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sms7t-0004aN-2h; Sat, 07 Sep 2024 05:53:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sms7q-0004Zb-N4 for guix-patches@gnu.org; Sat, 07 Sep 2024 05:53:02 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sms7q-0005wM-EF for guix-patches@gnu.org; Sat, 07 Sep 2024 05:53:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:In-Reply-To:References:Subject; bh=bOS7dOKzC6IXh6w+OknLoUvorio3y85H1gpLAYzrCN8=; b=RkKiGgakhuPv6JNnIPctL00s8LnKSceZGzFmROHN9nSfn/u6DmgXI3j/YZuEEBeKhk/qgkh/HHfOz8JbmkvlQaa25MxpJxX/4tDXPrjNx6mkPCfvrvHiS8N2WLMICOUAIDVFzkKWHxIffI+DlwuOyuU4jUUY4toyGj1F+6zPVUoPUonEajs6zq6TTSd6Uj3U4D+uc2AfKnw8ya4AGHkOjlI9oTTVTv8esewoxEmbmlyeosRpSE/JZUDpjdVKReFY/ExTo1zWvrkka/pZOMZ8ocMjnDGNd+9L/LOEI4kJv+agmofQKqUcqiqUuYUdCyU+Hnf3qnpPFSCDOzwlNQT5pQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sms7q-0000R3-42 for guix-patches@gnu.org; Sat, 07 Sep 2024 05:53:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72463] [PATCH v2 01/10] gnu: Add clojure-data-json. References: In-Reply-To: Resent-From: Roman Scherer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 07 Sep 2024 09:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72463 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72463@debbugs.gnu.org Cc: Roman Scherer Received: via spool by 72463-submit@debbugs.gnu.org id=B72463.17257027741601 (code B ref 72463); Sat, 07 Sep 2024 09:53:02 +0000 Received: (at 72463) by debbugs.gnu.org; 7 Sep 2024 09:52:54 +0000 Received: from localhost ([127.0.0.1]:54870 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sms7h-0000Pl-V7 for submit@debbugs.gnu.org; Sat, 07 Sep 2024 05:52:54 -0400 Received: from mail-lf1-f41.google.com ([209.85.167.41]:46189) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sms7g-0000PL-1V for 72463@debbugs.gnu.org; Sat, 07 Sep 2024 05:52:52 -0400 Received: by mail-lf1-f41.google.com with SMTP id 2adb3069b0e04-53568ffc525so3782347e87.0 for <72463@debbugs.gnu.org>; Sat, 07 Sep 2024 02:52:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=burningswell-com.20230601.gappssmtp.com; s=20230601; t=1725702705; x=1726307505; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=bOS7dOKzC6IXh6w+OknLoUvorio3y85H1gpLAYzrCN8=; b=D2WkoVV4gDfMWOP5TWGSH3rFUQbh2cozuIH5DwprMV0AyJMRoN2JVXUu7fjqeFk2EW SZJE/5j/0c2UDEhLm+EBYSnAITpbSf2CiKDY9DtXfA+BElWektqc6WN+5dwp2nfu1xvZ WrQIamJISM3Xd2w9hK6nOIvoOOD5P7Nq7fNU9pco30xxeU2lc4tc3dy2nRBAtVnt5kar u78dGBSpIEiKj7bOi0bNH4dMmDsysLRvoZVDo0FA2eJE6fIUUWQiQDtOEpwK0LTieiOM hEoMwgNmTn8iXMk7ZbvVGp0n4zRHYopap82zdk+Wa+NzYuYcjJWNd8V0UxdbMsWb9JpC Hryw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725702705; x=1726307505; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=bOS7dOKzC6IXh6w+OknLoUvorio3y85H1gpLAYzrCN8=; b=nxwK3ulm+eirvNOB4RWVmAumXCV95BV5NwbA39BHsQA00yflbWe2saFNs9dbeZEgFD +qBVCnjaOhirO61uv1tjGfzbRZZLHilxgYoQ6IqlM8A7Kam0vpWmExM0eRNcbuxKo9Rh mtRfoUycG/sYKHgBgRk7YjsZ/0MvvZqyASm92zb8/e8kWSRRQ2bpcQljzqFkBvSSInaw 1gCNFqHsCx2MMtYy5ZM2ZHBEQLRV51jsXMWuqcIbOwZiT7pXf7tR909mGQXU9Sd4yWHG Gtm25PmzBPuLHgDUzQtnFIYO9vPoavq3V75xDj50WlncmLcVux+71QntJOevUgiJN+kZ vjKQ== X-Gm-Message-State: AOJu0Yx50YwaJl6Ai5if9UVgqX1kUAyMKSWj6MSWQGvNG6V4IFAKCoZG HYNxLJPeroAnjvyFKylyQJfEKrcP2cIYfrUeDJr9UglWZEFMjsHAwzcbhoJDeia/+Yr/9eHYzyL n X-Google-Smtp-Source: AGHT+IHE9HeDG1aQj+YkXVDYuWzj//bIApW6OCu/XpMZ+AVsZLx4M1EdZb2vZt7AKOTE2hEfcHdUGA== X-Received: by 2002:a05:6512:110c:b0:52f:d090:6da6 with SMTP id 2adb3069b0e04-536588132acmr3744758e87.55.1725702703915; Sat, 07 Sep 2024 02:51:43 -0700 (PDT) Received: from localhost.localdomain ([2a01:599:a06:885c:78e0:c598:8647:eb0]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a8d25a09e21sm52801566b.84.2024.09.07.02.51.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 07 Sep 2024 02:51:43 -0700 (PDT) From: Roman Scherer Date: Sat, 7 Sep 2024 11:51:26 +0200 Message-ID: <5d11790ac0fdc5c0cfe7e30fc23530f6ddaede90.1725702551.git.roman@burningswell.com> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/clojure.scm (clojure-data-json): New variable. Change-Id: Id5da429fe375c656842250ed88d84d281954cec9 --- gnu/packages/clojure.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) base-commit: b2f9231cd9ff0ce326e36e258a4d14484d6e2199 diff --git a/gnu/packages/clojure.scm b/gnu/packages/clojure.scm index d315fc9187..c3f34e61a6 100644 --- a/gnu/packages/clojure.scm +++ b/gnu/packages/clojure.scm @@ -397,6 +397,32 @@ (define-public clojure-data-csv relaxed.") (license license:epl1.0))) +(define-public clojure-data-json + (package + (name "clojure-data-json") + (version "2.5.0") + (home-page "https://github.com/clojure/data.json") + (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 + "04k3fr9y1gp337h0d2zxam3aa3hl046r2g2qiizn7aq0rq6311p9")))) + (build-system clojure-build-system) + (arguments + '(#:source-dirs '("src/main/clojure") + #:test-dirs '("src/test/clojure") + #:doc-dirs '())) + (native-inputs (list clojure-test-check)) + (synopsis "Clojure library for reading and writing JSON data") + (description "@code{data.json} is a Clojure library for reading and +writing JSON data. @code{data.xml} is compliant with the JSON spec and has no +external dependencies") + (license license:epl1.0))) + (define-public clojure-data-xml (package (name "clojure-data-xml") From patchwork Sat Sep 7 09:51:27 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roman Scherer X-Patchwork-Id: 67699 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 0142027BBEC; Sat, 7 Sep 2024 10:53:12 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_VALIDITY_CERTIFIED, RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE,SPF_HELO_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id D223427BBE2 for ; Sat, 7 Sep 2024 10:53:10 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sms7s-0004a0-C5; Sat, 07 Sep 2024 05:53:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sms7q-0004Za-Dn for guix-patches@gnu.org; Sat, 07 Sep 2024 05:53:02 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sms7q-0005wP-4X for guix-patches@gnu.org; Sat, 07 Sep 2024 05:53:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=S8jh8dKybEBRGJucjmfY4jQDZDISOwTeWQFPrN8o4U0=; b=lJ6MRGWFDS/NB1xujElX4fpVnSeYu8It/ugzeqyFhFq2WiRDmO2aLP7/ybpWNXqDBPuZvo+nd9Ljy3AwjaSwxQg3PEaK1CJzEiULf7HpzQh6y+phR8AGi6bn8AKUrj4FGs/i6liaFgEqgyFqVugB+NlJOEsHZhz2R1otA8wr2JQS1XeQKQyXUbHkuSsbMGmhNTqHlmPQyGSX3WMwtyfI3gDI1To5DWtQPX8tLZFjbw3KHvfswRfpI76Fp2rzsV72uMjkmSRn63GJ6Qcs2GfwBlPG6vNxk2bTJRNO7w1Mfy1Z0qkhT0mGWBjISZnIVDHZtSXYi9XHTwC8UZdUy5z54w==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sms7q-0000RA-IU for guix-patches@gnu.org; Sat, 07 Sep 2024 05:53:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72463] [PATCH v2 02/10] gnu: Add clojure-data-priority-map. Resent-From: Roman Scherer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 07 Sep 2024 09:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72463 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72463@debbugs.gnu.org Cc: Roman Scherer Received: via spool by 72463-submit@debbugs.gnu.org id=B72463.17257027761619 (code B ref 72463); Sat, 07 Sep 2024 09:53:02 +0000 Received: (at 72463) by debbugs.gnu.org; 7 Sep 2024 09:52:56 +0000 Received: from localhost ([127.0.0.1]:54873 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sms7k-0000Q2-9g for submit@debbugs.gnu.org; Sat, 07 Sep 2024 05:52:56 -0400 Received: from mail-ej1-f46.google.com ([209.85.218.46]:57725) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sms7g-0000PM-DS for 72463@debbugs.gnu.org; Sat, 07 Sep 2024 05:52:52 -0400 Received: by mail-ej1-f46.google.com with SMTP id a640c23a62f3a-a8692bbec79so377042566b.3 for <72463@debbugs.gnu.org>; Sat, 07 Sep 2024 02:52:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=burningswell-com.20230601.gappssmtp.com; s=20230601; t=1725702705; x=1726307505; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=S8jh8dKybEBRGJucjmfY4jQDZDISOwTeWQFPrN8o4U0=; b=JfQhXyP5s0DyiTiwRqFekNHZ/3lnVbbJv6M8VMlt5MyKYbcSt9CzEm2FD4WzJohCiz kF7owmnmUQ/zrMNpJeA4f+0fEMu0NMhSlge/8J6cDFtJ7rxEtFB6QLUQr/8vrf7DE4AZ VI2cmT++r+IUx4ehgQ+bVo5N2dnb3sFFqjVSvVYczST5rMo6y1keGIud2VJSASoP6b8N 2g8r2RNUNdCvJBesPsfIg5Rhd3/NoP4YVY3bBP1GRSLPpqNeZPB74d5SxldqHkCx4Lj6 ljogP7pdvnGicEBwQ8UdASAX0oR0Cs10Z+Uq57wMKQlJ/Hf3gaUqqAwYuDmladUHp++0 uKeQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725702705; x=1726307505; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=S8jh8dKybEBRGJucjmfY4jQDZDISOwTeWQFPrN8o4U0=; b=h8z3i+aXkB0qwASc9A93ZYq7zLZNVAEG3DjSfn5Yebu/TkSo6RL8bXxmEv2EGyxG2U 0BLldEPqkAAxm2U+jZx/9uA6FD8jJVgYqsI6fasQA51QL1ZP7qTGdRio7wMQ+I9YsPbo Mvrw6CFBL8EYscfP0p2Bpsb7w6MNpVjPoT6DCW4ypvBGTSUsUiBCirEGLYuICEvk0kWZ mM4n9oTVyRATfYGhqf72Znmp6VxL+FLy2W1/EwnKRek1BmmnuMNP3KRrNvTJ/283ihCe ZFAkyBA2uTUzNUsl3bcvEHYLnTS01tExPMZrP7jjuf5Foo/a95/GfL2NcdygV1Sqs8G7 62Wg== X-Gm-Message-State: AOJu0YwuElQTi5EUg7QGEPRYUtf27dsF7PNd1qi/vbm7HZioXpQhCS5O A/KnRM8H8d0cpxEveQ3qUxO5amaH+QgHcNxgWoXiUYt0wR0kx92YdJHfF/5A9MjxXaEbnWak62c h X-Google-Smtp-Source: AGHT+IHbKpxIKUpyUM8pAf7vVpVD+dZP4uqW+F+xbnw2bMYWc1TGP1Xe6WeyoUuZReukZ4mF0PNtsg== X-Received: by 2002:a17:907:3d94:b0:a86:9bfe:31c3 with SMTP id a640c23a62f3a-a8a886689e8mr421401966b.33.1725702705239; Sat, 07 Sep 2024 02:51:45 -0700 (PDT) Received: from localhost.localdomain ([2a01:599:a06:885c:78e0:c598:8647:eb0]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a8d25a09e21sm52801566b.84.2024.09.07.02.51.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 07 Sep 2024 02:51:44 -0700 (PDT) From: Roman Scherer Date: Sat, 7 Sep 2024 11:51:27 +0200 Message-ID: <1f045dba36966e78bcbe1c66cc430d3b69f5b3c8.1725702551.git.roman@burningswell.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <5d11790ac0fdc5c0cfe7e30fc23530f6ddaede90.1725702551.git.roman@burningswell.com> References: <5d11790ac0fdc5c0cfe7e30fc23530f6ddaede90.1725702551.git.roman@burningswell.com> MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/clojure.scm (clojure-data-priority-map): New variable. --- gnu/packages/clojure.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/clojure.scm b/gnu/packages/clojure.scm index c3f34e61a6..9887f1c520 100644 --- a/gnu/packages/clojure.scm +++ b/gnu/packages/clojure.scm @@ -423,6 +423,35 @@ (define-public clojure-data-json external dependencies") (license license:epl1.0))) +(define-public clojure-data-priority-map + (package + (name "clojure-data-priority-map") + (version "1.2.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/clojure/data.priority-map") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0aynzrdl0w08q89nd069lcx8s6msqmwrpqnya63jv1l2pn3w6ij4")))) + (build-system clojure-build-system) + (arguments + '(#:source-dirs '("src/main/clojure") + #:test-dirs '("src/test/clojure") + #:doc-dirs '())) + (synopsis "Priority map implementation in Clojure") + (description + "A priority map is very similar to a sorted map, but whereas a sorted map +produces a sequence of the entries sorted by key, a priority map produces the +entries sorted by value. In addition to supporting all the functions a sorted +map supports, a priority map can also be thought of as a queue of [item +priority] pairs. To support usage as a versatile priority queue, priority +maps also support conj/peek/pop operations.") + (home-page "https://github.com/clojure/data.priority-map") + (license license:epl1.0))) + (define-public clojure-data-xml (package (name "clojure-data-xml") From patchwork Sat Sep 7 09:51:28 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roman Scherer X-Patchwork-Id: 67701 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 AE11A27BBEA; Sat, 7 Sep 2024 10:53:31 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_VALIDITY_CERTIFIED, RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE,SPF_HELO_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 6B17427BBE2 for ; Sat, 7 Sep 2024 10:53:31 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sms7t-0004aO-Dj; Sat, 07 Sep 2024 05:53:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sms7q-0004Zp-Ve for guix-patches@gnu.org; Sat, 07 Sep 2024 05:53:02 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sms7q-0005wZ-MC for guix-patches@gnu.org; Sat, 07 Sep 2024 05:53:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=1nd2aHUc6e8sis96OE4/XbzCon+vBgkokrIVwD5yY8A=; b=T5bkMCaLP/PqycUzLs8h/VUeX3Kso4IDm2YaVOiD378KgibVLYNLMIstxEeYRcnTmAMg8P/9Pf2ZryvztyDI9++a00Bg6PeTwazX8Fyjw3UKwNUOP/DxnZMlVMlmCM3Xu/kJidMyzrQmfnQ4sqnbnO6sMIb3/5bqH7pPV6rpjkSNFTYCSnVDdv5VA5EJdCtbo1huE2Kb00Z9of/O77IpyHehWlnBH0vUDPK0+iyYRjWDsx/VwIsIysxQ+Kg34yyc36wD5RoFa7PzV1GuIpmkreRJA5XdwSpVGf7nrupnhIf72v6LRNXTxgD9lxSdgnz74X84n0BTT3ld2Q/vIB876w==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sms7r-0000RI-5V for guix-patches@gnu.org; Sat, 07 Sep 2024 05:53:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72463] [PATCH v2 03/10] gnu: Add clojure-core-cache. Resent-From: Roman Scherer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 07 Sep 2024 09:53:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72463 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72463@debbugs.gnu.org Cc: Roman Scherer Received: via spool by 72463-submit@debbugs.gnu.org id=B72463.17257027771633 (code B ref 72463); Sat, 07 Sep 2024 09:53:03 +0000 Received: (at 72463) by debbugs.gnu.org; 7 Sep 2024 09:52:57 +0000 Received: from localhost ([127.0.0.1]:54877 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sms7k-0000Q4-K9 for submit@debbugs.gnu.org; Sat, 07 Sep 2024 05:52:57 -0400 Received: from mail-lf1-f51.google.com ([209.85.167.51]:54277) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sms7i-0000PP-Ft for 72463@debbugs.gnu.org; Sat, 07 Sep 2024 05:52:54 -0400 Received: by mail-lf1-f51.google.com with SMTP id 2adb3069b0e04-5365392cfafso2616092e87.0 for <72463@debbugs.gnu.org>; Sat, 07 Sep 2024 02:52:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=burningswell-com.20230601.gappssmtp.com; s=20230601; t=1725702707; x=1726307507; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=1nd2aHUc6e8sis96OE4/XbzCon+vBgkokrIVwD5yY8A=; b=AgBGqwkXtMtOWfdDLM9fAYeM3B3R7EkwaRd8Qm6jP98M3PKQKkYFs9dNVQf2bnN+cT DoSX5Nrb1PDjXCMGropdzMdQ+6nfAxbPKritQL4phNY60N279jqxynddlzSfUvylOtGS 2S6vAPK93/ORe5VFj8yqhnzING99sjKHQ20rti9pH0CllV+mrgdOQxB/kB9XUFZbySwN 7fpCxDZLe7ok9SOaa+3b65I1wJirq04WxzzLEzLPgMNKmeTTqJAWuHyEXY/s3f7Z23av ZCWM2emNBsCWjKwl+78DQocwpqgVtxI/QvSXMS4wcwf6xntOw1Z67oEfkJhxFaJ0Dtmm mh2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725702707; x=1726307507; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=1nd2aHUc6e8sis96OE4/XbzCon+vBgkokrIVwD5yY8A=; b=A5OKdIohNDstm2AN8d7PZwOCNmUt0NDV5EEwh/cLlRjcAZM89/Y30Kk8kmI6IwSW40 mALP0JIdLbsoc3YigkYzVUegfmwVRh+h8H63lZRaZ8eNCgzT19p2VWwBeALh4zhe1Od9 f6ssiD1bEGnQFGYS8gw9mGjJdI/WtN/IUsi/JRaKK/33oUHE3D8xv2e2GBmz1rjUbGNI ZuB2f30cSYb5sIARrg6XPsf1AQTguaOZnD0VKM6hqhKSAe+68kj0xZIJS8kpIqdYbrg8 Q0iBQgr8JRhtvAKN/EdsqHE+dLLqKB9/2XZwjiNJu91xYZWF+PxGSWV242exKCGnzhzF fXSg== X-Gm-Message-State: AOJu0Yy5EIf76RwF7/kfRkjqqyItMP1VLNznk2gtvjxO1zaL+YNnR4mz 6Am1PzsBYurzV4ua7e1NIwUmobkVsp4LwihDqkALDu4/eTpIqr1AcCL7zE2lVlsID539iTKpKil o X-Google-Smtp-Source: AGHT+IG9XbhEqmfoVTEll7LMueVff0k1SOSPZT8PZ2QGazkBZDeQj32BocSd1Ipq1v7gjqN7limlEg== X-Received: by 2002:a05:6512:2213:b0:536:5413:2d56 with SMTP id 2adb3069b0e04-5365880d150mr3501237e87.51.1725702706597; Sat, 07 Sep 2024 02:51:46 -0700 (PDT) Received: from localhost.localdomain ([2a01:599:a06:885c:78e0:c598:8647:eb0]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a8d25a09e21sm52801566b.84.2024.09.07.02.51.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 07 Sep 2024 02:51:46 -0700 (PDT) From: Roman Scherer Date: Sat, 7 Sep 2024 11:51:28 +0200 Message-ID: <58d2392127ad7f84c03e52df73a418e9bc1d8d82.1725702551.git.roman@burningswell.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <5d11790ac0fdc5c0cfe7e30fc23530f6ddaede90.1725702551.git.roman@burningswell.com> References: <5d11790ac0fdc5c0cfe7e30fc23530f6ddaede90.1725702551.git.roman@burningswell.com> MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/clojure.scm (clojure-core-cache): New variable. --- gnu/packages/clojure.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/clojure.scm b/gnu/packages/clojure.scm index 9887f1c520..005a7f2b4a 100644 --- a/gnu/packages/clojure.scm +++ b/gnu/packages/clojure.scm @@ -318,6 +318,33 @@ (define-public clojure-algo-monads (home-page "https://github.com/clojure/algo.monads") (license license:epl1.0))) +(define-public clojure-core-cache + (package + (name "clojure-core-cache") + (version "1.1.234") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/clojure/core.cache") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0jiq022kd5jdpmxz884rvg5317xmx7g3gnidkpcfsamchyfh5qxq")))) + (build-system clojure-build-system) + (arguments + '(#:source-dirs '("src/main/clojure") + #:test-dirs '("src/test/clojure") + #:doc-dirs '("docs"))) + (propagated-inputs (list clojure-data-priority-map)) + (synopsis "Clojure caching library") + (description + "Caching library for Clojure implementing various cache strategies such +as First-in-first-out, Least-recently-used, Least-used, Time-to-live, Naive +cache and Naive cache backed with soft references.") + (home-page "https://github.com/clojure/core.cache") + (license license:epl1.0))) + (define-public clojure-core-match (package (name "clojure-core-match") From patchwork Sat Sep 7 09:51:29 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roman Scherer X-Patchwork-Id: 67706 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 EB87327BBEA; Sat, 7 Sep 2024 10:54:42 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_VALIDITY_CERTIFIED, RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE,SPF_HELO_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id AFB7F27BBE2 for ; Sat, 7 Sep 2024 10:54:42 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sms8p-0004mp-Oc; Sat, 07 Sep 2024 05:54:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sms8o-0004mG-Hi for guix-patches@gnu.org; Sat, 07 Sep 2024 05:54:02 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sms8o-00060m-7q for guix-patches@gnu.org; Sat, 07 Sep 2024 05:54:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=Kha3JdqWubk7Xd+FArj0WPVh/xMBXdNWDjfafxUnpHs=; b=TDposYbX6cH+HxFyK26Il86R29HJddC2kEN8nGVKY301kg6NpOwoNdXpy+MuOuulBkrIA2sbDI/yxqWfZNH016cqn5gUfvWwLTjkMLtjT+obTDxqjuqA6/MlhvZl+7IJ3nADkcXZWp4/Q1yqVPPVm5QEu1hfkEOGTdb2G9HhR3fejda+ARTg5GSDlZ89qTXN65vuaCru6LsJAqkE+oJeygJV/VeuIorBDtJ3b8c8V0dmsSU0s5wUGdAdr+he4RvzBzUDVKXFkZ0tA7Wkt8ZVa0jLWe9Fzk8HbJ1i3FgMN9U2uX9YY0RyS6iPQ4hAQDugM2zvxcK7QKWKuomCtZG3kQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sms8o-0000UT-Ou for guix-patches@gnu.org; Sat, 07 Sep 2024 05:54:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72463] [PATCH v2 04/10] gnu: Add clojure-core-memoize. Resent-From: Roman Scherer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 07 Sep 2024 09:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72463 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72463@debbugs.gnu.org Cc: Roman Scherer Received: via spool by 72463-submit@debbugs.gnu.org id=B72463.17257027851746 (code B ref 72463); Sat, 07 Sep 2024 09:54:02 +0000 Received: (at 72463) by debbugs.gnu.org; 7 Sep 2024 09:53:05 +0000 Received: from localhost ([127.0.0.1]:54883 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sms7o-0000Qj-Cn for submit@debbugs.gnu.org; Sat, 07 Sep 2024 05:53:05 -0400 Received: from mail-ej1-f48.google.com ([209.85.218.48]:61621) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sms7k-0000PU-9t for 72463@debbugs.gnu.org; Sat, 07 Sep 2024 05:52:56 -0400 Received: by mail-ej1-f48.google.com with SMTP id a640c23a62f3a-a8d100e9ce0so122999766b.2 for <72463@debbugs.gnu.org>; Sat, 07 Sep 2024 02:52:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=burningswell-com.20230601.gappssmtp.com; s=20230601; t=1725702709; x=1726307509; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Kha3JdqWubk7Xd+FArj0WPVh/xMBXdNWDjfafxUnpHs=; b=zq1JROE2/02YFxvKxILdZ/xwqyYZg+dBjhMa9D6DxOAfdW2nJoQHAQg8p44n/vpnhd aJ28EmS0/4diCIrHnPf4N2qbw78E7ZWNOu90U/ELb7swxOE/D3rGuzPr4KGReIiQlETW rQMtEosyvKY1rxJaT3d9eYTncfbg7kKz/nGayvWLgMTc8IdzPQn4wSGQ8eGsS4FPRKsK tpTbu8+voJbY0IZ950PukNJzVXIG+bQW1UiLzgLy9LZEcERh4TDhzOUIpTSVqnJ1cfrV 01taDVu/L861urLiI6zE9GHLWSQZlK1QlklGEVvTe/0fl2/JT70Kx7w01a7TayNKAGZd Q+Kg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725702709; x=1726307509; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Kha3JdqWubk7Xd+FArj0WPVh/xMBXdNWDjfafxUnpHs=; b=aA5hf/v9H8xVtPy1LCS08L/vImlDCN1o5OP73jISrEAKV+f49iDlXL5WVJMuVhucA4 A4O/412Fdx04c6z/bqZDxRWa/aTwJQ6C8AVMrYQjVhpK7HMm7ZXhwQqFYwIH+NWz2Lhx imBy7yoLuZVcisO6O3oSjJWpkZBeKrvya0FfuGfUJH4T/maJXnfy6aGwl0RtKpyg98N5 Nkg2YFyO2t4lc0+SP3m/rGjVAXg2ITWT5T7ROopyL2Zva4kEg5v75GgvAyMNwmhfcUO3 CKMcgbKczJgQuo7w9JOKuZz7KkWHIRYPpdL1hATrdLlsTt/CNfNe6K9zozMIr6pmOQz5 7R8Q== X-Gm-Message-State: AOJu0YyEHVj4FtqRB4tJh2Pl4JqnP9gRVvABeFfzMLPcNxO82SMzEvuF yjoTYFjfLS+Jjx1BM4acgQBy/E2XIACJls442MRyft4wlB9q6Dnab1pmAs8YDr2wvf8wimfSgK7 X X-Google-Smtp-Source: AGHT+IE9cwR/10tOqOh4UWEUgKwwFkpI++5o6fTMiu6I8DJ+YSPbzOBv1fPbc3bdYNvShkbM1baULw== X-Received: by 2002:a17:906:f59d:b0:a8d:caa:7ffb with SMTP id a640c23a62f3a-a8d0caa92ecmr308657566b.29.1725702708639; Sat, 07 Sep 2024 02:51:48 -0700 (PDT) Received: from localhost.localdomain ([2a01:599:a06:885c:78e0:c598:8647:eb0]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a8d25a09e21sm52801566b.84.2024.09.07.02.51.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 07 Sep 2024 02:51:47 -0700 (PDT) From: Roman Scherer Date: Sat, 7 Sep 2024 11:51:29 +0200 Message-ID: X-Mailer: git-send-email 2.45.2 In-Reply-To: <5d11790ac0fdc5c0cfe7e30fc23530f6ddaede90.1725702551.git.roman@burningswell.com> References: <5d11790ac0fdc5c0cfe7e30fc23530f6ddaede90.1725702551.git.roman@burningswell.com> MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/clojure.scm (clojure-core-memoize): New variable. --- gnu/packages/clojure.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/clojure.scm b/gnu/packages/clojure.scm index 005a7f2b4a..7323b0181f 100644 --- a/gnu/packages/clojure.scm +++ b/gnu/packages/clojure.scm @@ -370,6 +370,33 @@ (define-public clojure-core-match (home-page "https://github.com/clojure/core.match") (license license:epl1.0))) +(define-public clojure-core-memoize + (package + (name "clojure-core-memoize") + (version "1.1.266") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/clojure/core.memoize") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0nys79zrvcnwgyxb91zlyl3nb4p6r6y4n5rbdvzqkvsxxazi9ji0")))) + (build-system clojure-build-system) + (arguments + '(#:source-dirs '("src/main/clojure") + #:test-dirs '("src/test/clojure") + #:doc-dirs '("docs"))) + (propagated-inputs (list clojure-core-cache)) + (synopsis "Memoization framework for Clojure") + (description + "A manipulable, pluggable, memoization framework for Clojure implementing +some common memoization caching strategies, such as First-in-first-out, +Least-recently-used, Least-used and Time-to-live.") + (home-page "https://github.com/clojure/core.memoize") + (license license:epl1.0))) + (define-public clojure-data-codec (package (name "clojure-data-codec") From patchwork Sat Sep 7 09:51:30 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roman Scherer X-Patchwork-Id: 67708 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 D098A27BBEA; Sat, 7 Sep 2024 10:54:53 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_VALIDITY_CERTIFIED, RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE,SPF_HELO_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 9367127BBE2 for ; Sat, 7 Sep 2024 10:54:53 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sms8r-0004o2-1H; Sat, 07 Sep 2024 05:54:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sms8o-0004mO-WF for guix-patches@gnu.org; Sat, 07 Sep 2024 05:54:03 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sms8o-000616-NS for guix-patches@gnu.org; Sat, 07 Sep 2024 05:54:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=s+f2vQ0FNPHQ892wu9Mj7YRxc+6TIx50tMfh4Cm1HOU=; b=c5lLAufJLop/qVIshMczqLAy8POUnpPP/XHo0fuoGA6/W0ka+2FWjfv9NkIfV+ml4oKE5/tgo03BqxcPvgZqWFu4VXG0VCXT/0IUl+rzys8HjpuTk3uDGHBb9CPKfAxPv/Yf7JnLW/z37LAjKHA8l/c9tZfR/AFribOyLd9vDeHPSEfV8SItOo+cmysB6/l29bg1pxVObwuUzVBbInsa8SeUWk17W1rspBzR1s39UIu7ZZ1h+OXM4X+QBTae/KxpHarwV5s8J9LsSCVEdAsrXzoPZRXBq3jHBfxc52oltY3whEcT49f3KZF5sJEibVlYfDP2un5Cja5tcpsGOz7thQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sms8p-0000Ub-8d for guix-patches@gnu.org; Sat, 07 Sep 2024 05:54:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72463] [PATCH v2 05/10] gnu: Add clojure-tools-analyzer. Resent-From: Roman Scherer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 07 Sep 2024 09:54:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72463 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72463@debbugs.gnu.org Cc: Roman Scherer Received: via spool by 72463-submit@debbugs.gnu.org id=B72463.17257028001774 (code B ref 72463); Sat, 07 Sep 2024 09:54:03 +0000 Received: (at 72463) by debbugs.gnu.org; 7 Sep 2024 09:53:20 +0000 Received: from localhost ([127.0.0.1]:54893 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sms7t-0000SE-Ne for submit@debbugs.gnu.org; Sat, 07 Sep 2024 05:53:20 -0400 Received: from mail-ej1-f52.google.com ([209.85.218.52]:47336) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sms7m-0000Pd-1J for 72463@debbugs.gnu.org; Sat, 07 Sep 2024 05:52:58 -0400 Received: by mail-ej1-f52.google.com with SMTP id a640c23a62f3a-a867a564911so363964466b.2 for <72463@debbugs.gnu.org>; Sat, 07 Sep 2024 02:52:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=burningswell-com.20230601.gappssmtp.com; s=20230601; t=1725702711; x=1726307511; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=s+f2vQ0FNPHQ892wu9Mj7YRxc+6TIx50tMfh4Cm1HOU=; b=evRzMVYc0of3GdsXcx5HeCpuZcm8W6ohrlXmtvqwn6f/+YyYijPIlXJg0+JfsxLkqj vYm8Aym7zee6nO4rzUCM1pSuPMk4jUNzKWhMABv5VdGIVvjv0tQmBHfv+M0/dhmGYF3T xC6OUvS6zIcXDVOAPrWCRznM8LTrSO8zPtFT0V8Ju6/RX80ehyVFMRLfu/i63hGpa317 mTbZBggXKefbQnkj76iZQQnh0j11deHW3PzW1RfQVCoIm4dj2vU6o82aIwQhGRxfnR1a w2JsLcn35VHaEDolekMI83Dqy3h88f2t73SveJf1l/hqtVt2si+CG8tzPwRk+efVC3I9 BNSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725702711; x=1726307511; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=s+f2vQ0FNPHQ892wu9Mj7YRxc+6TIx50tMfh4Cm1HOU=; b=tZamyunJ/IEpLg+Ph8WrJzk+o8+rw+S690dyaGOyDr5AdVZrzHpUF5Ma0eU2XCzqO+ 86Tlnado/o+gqzYWs1vhxHMlU7DS7UhnzhUw4q0fUr8Lp5LSaANBoZ9yfGWgdr+ebnY8 yfIFrIZIralLs5vKZEDRRHT6q3d0NOCuVj5gKU93EXWpdtf3SfvWng1sg0sJHlCkezVR 7Za7VYj2A7VPTAQDCz6TxxIvR+T30PH+X0hA78yZ0K8iRO5T6a+aHElbX/GborYDp0xB 5inSextaAu5k3CGa6BQEQCKXooLPXdEiUjeljcujWdLc/CE/ej1zxMBx83qx1Z+kfiOv Y0/g== X-Gm-Message-State: AOJu0YxV4DOL3KtX5SvfeBqA/18K+ODtKgt0NSGqGp+Q7HvTjdMiVJ5V bHdiN/2pMs/p1D+mOZIc02TTVaJPSRL3PAtrl78TPjAyHMwwYDpl4Ug8zHu9K2oMWPhPBH1V3vQ a X-Google-Smtp-Source: AGHT+IHko0l3SH/Z/7/w0R52ZYZPgTcHOsZSr3Li+Oa7h50ayhVa328TgXAcpaTZh5bmV7HDSU85kw== X-Received: by 2002:a17:907:6022:b0:a8a:926a:d012 with SMTP id a640c23a62f3a-a8a926ad551mr188637766b.26.1725702710571; Sat, 07 Sep 2024 02:51:50 -0700 (PDT) Received: from localhost.localdomain ([2a01:599:a06:885c:78e0:c598:8647:eb0]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a8d25a09e21sm52801566b.84.2024.09.07.02.51.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 07 Sep 2024 02:51:49 -0700 (PDT) From: Roman Scherer Date: Sat, 7 Sep 2024 11:51:30 +0200 Message-ID: <3006993f12777edf48ea05b017e3025f751f4f51.1725702551.git.roman@burningswell.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <5d11790ac0fdc5c0cfe7e30fc23530f6ddaede90.1725702551.git.roman@burningswell.com> References: <5d11790ac0fdc5c0cfe7e30fc23530f6ddaede90.1725702551.git.roman@burningswell.com> MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/clojure.scm (clojure-tools-analyzer): New variable. --- gnu/packages/clojure.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/clojure.scm b/gnu/packages/clojure.scm index 7323b0181f..082ff530fa 100644 --- a/gnu/packages/clojure.scm +++ b/gnu/packages/clojure.scm @@ -634,6 +634,31 @@ (define-public clojure-test-check concise, powerful tests.") (license license:epl1.0))) +(define-public clojure-tools-analyzer + (package + (name "clojure-tools-analyzer") + (version "1.2.0") + (home-page "https://github.com/clojure/tools.analyzer") + (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 + "05v4i8qs5d51lh113phib0brkysphxa2d71khm840586432knyaa")))) + (build-system clojure-build-system) + (arguments + '(#:source-dirs '("src/main/clojure") + #:test-dirs '("src/test/clojure") + #:doc-dirs '())) + (synopsis "Analyzer for Clojure code") + (description "Analyzer for Clojure code, written in Clojure, which +produces an abstract syntax tree in the EDN ( Extensible Data Notation) +format.") + (license license:epl1.0))) + (define-public clojure-tools-macro (package (name "clojure-tools-macro") From patchwork Sat Sep 7 09:51:31 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roman Scherer X-Patchwork-Id: 67707 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 722EA27BBEA; Sat, 7 Sep 2024 10:54:48 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_VALIDITY_CERTIFIED, RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE,SPF_HELO_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 3027527BBE2 for ; Sat, 7 Sep 2024 10:54:48 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sms8v-0004od-C7; Sat, 07 Sep 2024 05:54:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sms8p-0004mc-I2 for guix-patches@gnu.org; Sat, 07 Sep 2024 05:54:03 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sms8p-00061D-8h for guix-patches@gnu.org; Sat, 07 Sep 2024 05:54:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=l35sNFz/cZ34sYARlRfFSOjvikHtDSJaFITxkYNSpZc=; b=oSP0eR7z+IsCX6L2YuOHDl3w324x25GDNsRg0ATaqY/eEC27eNtjLotQOxNRYeT4IdD/RvDNfg+k2X4cUFoU1Wp6xW08al4c5NnZKONssd49SA1p5IO554nP5GJHANSrRBquUSu7jP3QJY24mgIyXM/RkYwwM0x6i/H4jtDUuRZPov1gQx4LdVHPoTKIbcdd16zmEYdb0l3WwvN9heSGndG8pH3IBttuhAn4f8LqIbRy4MJbJZOiqtRg+l3+WgospRCgjTCsEQ/6EqLIaZ1g3VB4CfrzGg7E697uC3hdqXlgjTbAj2eBC0Fk3fpwO70qoES5H5f/9iI507wkSJlJwQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sms8p-0000Ul-Q3 for guix-patches@gnu.org; Sat, 07 Sep 2024 05:54:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72463] [PATCH v2 06/10] gnu: Add clojure-tools-reader. Resent-From: Roman Scherer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 07 Sep 2024 09:54:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72463 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72463@debbugs.gnu.org Cc: Roman Scherer Received: via spool by 72463-submit@debbugs.gnu.org id=B72463.17257028001783 (code B ref 72463); Sat, 07 Sep 2024 09:54:03 +0000 Received: (at 72463) by debbugs.gnu.org; 7 Sep 2024 09:53:20 +0000 Received: from localhost ([127.0.0.1]:54895 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sms88-0000Sa-5R for submit@debbugs.gnu.org; Sat, 07 Sep 2024 05:53:20 -0400 Received: from mail-ej1-f42.google.com ([209.85.218.42]:47327) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sms7m-0000Pj-LP for 72463@debbugs.gnu.org; Sat, 07 Sep 2024 05:52:59 -0400 Received: by mail-ej1-f42.google.com with SMTP id a640c23a62f3a-a867a564911so363965066b.2 for <72463@debbugs.gnu.org>; Sat, 07 Sep 2024 02:52:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=burningswell-com.20230601.gappssmtp.com; s=20230601; t=1725702711; x=1726307511; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=l35sNFz/cZ34sYARlRfFSOjvikHtDSJaFITxkYNSpZc=; b=QEgCMQU0RnCemqmfZjUqaK232ozF8twiXx4L6r7LxLVOVZb3MuDIcHQgVrrZWuTfht Vs9TCqalXiQfG443svEU/iJ7BH8mHj+p31wTzG0Axr7RSkjxOjj7o2FW+SsqxEob/RVs oCdy7TKZVzC8B7QLC0b9o4lRZe+IOTxzf1wSZEq4E2hA7RMruZdlsV+owaJc8/+vW8HD 1Esww6ti9ofz9YvG1z9kpjhEoGFmrmUbV1b2MWQ/304SlkZHnSm0mnkGVSSev/zGXQBd 9hxUhEmmTw0fpZQkVAzdPKPhgerTjR4Dpl8Zj6b4euHu8Sws13CKbiPfQ76OSkk67bjo OTkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725702711; x=1726307511; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=l35sNFz/cZ34sYARlRfFSOjvikHtDSJaFITxkYNSpZc=; b=RojelTBi8KO4mFWDs/0501wvF2hXJ9ISgXNxya8hCRqOwkjQdnCEcBx5PvJT0xPUnC 1TZmrLEq/Rz1xObp+gk4CS5Krm2KiJVjYdhrgBTaZFf2DS9zjCzwZK5dv8rIVBH0jojg OQUHpIGPxCUVK+ifKQiIg5l3ALqqhXJtw3BjWYaJmOoBTWQ+sC4THAe9R4/aAI3Lfodq mKOVq3vU+1azfHaV7os+w5qlE+n2INa0HrYP+2/KmDDIEtBO6V9e+BC5eS2H/UCzvoVN 6kgKNlatVPSTsyM3VvXJIa9Z4GB/XFSw0+axxVswHYIAmgCD/qNvaCvM4QQOGZK9/CJk JbjQ== X-Gm-Message-State: AOJu0Yzqk1S9YowkrKRw6BPJnLWmeJSnR66NZYuINydtxp1nfh8t0BC3 OIqBV1Yoo0yZV03dmGJRC2NDmcSXtgJR3SlZ9OTCQf3TtaMS3f5idTBMtfnf8OTZPcV7mu5vWIZ 0 X-Google-Smtp-Source: AGHT+IG+7kFwiLMVIxN9WkEEZjbX925eEFiMD4H1jspIerbm1nYFfI/XBq4Ij1U0NZOhIpCX1PFhtw== X-Received: by 2002:a17:907:7204:b0:a72:b4d6:ec6c with SMTP id a640c23a62f3a-a8a88667d3cmr370172066b.33.1725702711561; Sat, 07 Sep 2024 02:51:51 -0700 (PDT) Received: from localhost.localdomain ([2a01:599:a06:885c:78e0:c598:8647:eb0]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a8d25a09e21sm52801566b.84.2024.09.07.02.51.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 07 Sep 2024 02:51:51 -0700 (PDT) From: Roman Scherer Date: Sat, 7 Sep 2024 11:51:31 +0200 Message-ID: <3b346fa8d0905a6c18eafbc7c977b146100c3b56.1725702551.git.roman@burningswell.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <5d11790ac0fdc5c0cfe7e30fc23530f6ddaede90.1725702551.git.roman@burningswell.com> References: <5d11790ac0fdc5c0cfe7e30fc23530f6ddaede90.1725702551.git.roman@burningswell.com> MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/clojure.scm (clojure-tools-reader): New variable. --- gnu/packages/clojure.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/clojure.scm b/gnu/packages/clojure.scm index 082ff530fa..e6666c4440 100644 --- a/gnu/packages/clojure.scm +++ b/gnu/packages/clojure.scm @@ -860,3 +860,29 @@ (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-reader + (package + (name "clojure-tools-reader") + (version "1.5.0") + (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 + "1jf05q4ym8z16qaxidx47g2gjv04qcf1wvkca3wqyiaszpvym4zz")))) + (build-system clojure-build-system) + (arguments + '(#:doc-dirs '() + #:source-dirs '("src/main/clojure") + #:test-dirs '("src/test/clojure") + #:test-exclude '(clojure.tools.common-tests))) ; Loaded by other tests. + (synopsis "Clojure reader written in Clojure") + (description "The clojure.tools.reader library offers all functionality +provided by the Clojure Core reader and more. It adds metadata such as column +and line numbers not only to lists, but also to symbols, vectors and maps.") + (license license:epl1.0))) From patchwork Sat Sep 7 09:51:32 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roman Scherer X-Patchwork-Id: 67705 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 E500D27BBE9; Sat, 7 Sep 2024 10:54:35 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_VALIDITY_CERTIFIED, RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE,SPF_HELO_PASS, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 07E5827BBE2 for ; Sat, 7 Sep 2024 10:54:35 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sms8v-0004oZ-2f; Sat, 07 Sep 2024 05:54:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sms8q-0004nC-6K for guix-patches@gnu.org; Sat, 07 Sep 2024 05:54:04 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sms8p-00061J-Te for guix-patches@gnu.org; Sat, 07 Sep 2024 05:54:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=L6yALjGZJ40MSMgkAnE78gdpiWq/8KfoQswY3LwvCIg=; b=rwsyxAeqR0BoZQgZn2s+f9xEkFdKH+AJuSmsMpnfGk53ZzB4JFdl7g7Cp0eHf06eSfqjGjf9sw5oCWdrSMKX1p3jY7uT1ZwxixEr7ndz7SHyjQ2Oi1J3wmUG1fCwtwdWsZz3KZ87Fm3ow5hDjl2BNveswmfNq+BqiWXnaSdDtii/gASFF19m6beDMM8hm9N2emW3Q+JKGrfumfRk7tpKkULMYjHD09Kgfuv9uNehyWMPXH3j0KQEtynKDwSPNoREszsmLAkyWEXwEN7NfgLhHZSvBn3FAHLMEaT657V57tr5dhZ3gpGODNBSadPCsa12GBGfCcajpHv67gVxrbfkMA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sms8q-0000Ut-G0 for guix-patches@gnu.org; Sat, 07 Sep 2024 05:54:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72463] [PATCH v2 07/10] gnu: Add clojure-tools-analyzer-jvm. Resent-From: Roman Scherer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 07 Sep 2024 09:54:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72463 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72463@debbugs.gnu.org Cc: Roman Scherer Received: via spool by 72463-submit@debbugs.gnu.org id=B72463.17257028001791 (code B ref 72463); Sat, 07 Sep 2024 09:54:04 +0000 Received: (at 72463) by debbugs.gnu.org; 7 Sep 2024 09:53:20 +0000 Received: from localhost ([127.0.0.1]:54897 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sms88-0000Si-Fd for submit@debbugs.gnu.org; Sat, 07 Sep 2024 05:53:20 -0400 Received: from mail-ej1-f43.google.com ([209.85.218.43]:60681) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sms7n-0000Ps-VZ for 72463@debbugs.gnu.org; Sat, 07 Sep 2024 05:53:00 -0400 Received: by mail-ej1-f43.google.com with SMTP id a640c23a62f3a-a8d29b7edc2so29894566b.1 for <72463@debbugs.gnu.org>; Sat, 07 Sep 2024 02:52:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=burningswell-com.20230601.gappssmtp.com; s=20230601; t=1725702713; x=1726307513; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=L6yALjGZJ40MSMgkAnE78gdpiWq/8KfoQswY3LwvCIg=; b=MJy5Gadr4scnyTTosM+felb19nvmSMouLXs2HtALegt/gRmWGyfVCATYwzGo/O13kF U9P8NkV4AsDpwY+vmso+GakuTJkXPpTlrellDLfpj3UKUxRkdlAwMKOGh0L1XRwZzQ7f 2FNr7J5QBHGEABRvEY/IVIX3V+kLSToyi4fEMM3aHLsRB6+bW78iez8BJL+/kxIZnV2R PGjt8F4/NCf+ar8/4SYdRdodqfNE4j2Q+YYulE6iho7+eI9806canM8FLDf2cU2jf+ws ZU/B7GYJrTv1FT7j7x4MljfC0adrJfNn5nYIy+Pn48XaGRyx65C7WdsxaUYzGaoI1YcR W4wA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725702713; x=1726307513; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=L6yALjGZJ40MSMgkAnE78gdpiWq/8KfoQswY3LwvCIg=; b=Q7g7Iuk4jq+sx3pBTJWv4mRE9YG51rZq+okyw+i+KfrbngHWGnMP7Q9b+ZERQohudr mRVeb45GsdxZZ+Zk4r9fUbESztqKiFhg4OCVbX+PJ3lBg2zytoHst6uy1cYzMCPEDKaf FlI2zI2YJhtOI1JlfVT0AKElq0h7FtlDKqJjqDxmTGosaolGFp/cVmajwTcEN13V43rT wDg/ntB7nEVp9j13ZNf9AK4f+CwVFlKDOsgI2jH+fu6Zd6yLAF5/aVY3czCiKXX8iLHE 6E3aWstia9cGUiDbg3FQDkaGGBTwHBbUULluLiDY9pP7OTzDcmQwI5JB6ReDLCr/+YHe NbIw== X-Gm-Message-State: AOJu0YzQmX6Lx/gY3DQRZsBO94EmNOJliWTDnoeTlUJ7QnbEbhDhwWVb 2VtWOv64jG7ayK1mvf0QS8fpiYlllZMNEE4Rg5zTsfeXIJlSYN8xyNnUXNPsQZMzdlvLN4CVFfV E X-Google-Smtp-Source: AGHT+IEyBrAvpDXnNcytkn5RDHZt9uDAtOKRFB77fERTglvY6bzcMpiE83V4qAYjpFc0EmFVbYSCaw== X-Received: by 2002:a17:907:782:b0:a7a:8da1:eb00 with SMTP id a640c23a62f3a-a8a885bfbc7mr492574066b.7.1725702712955; Sat, 07 Sep 2024 02:51:52 -0700 (PDT) Received: from localhost.localdomain ([2a01:599:a06:885c:78e0:c598:8647:eb0]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a8d25a09e21sm52801566b.84.2024.09.07.02.51.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 07 Sep 2024 02:51:52 -0700 (PDT) From: Roman Scherer Date: Sat, 7 Sep 2024 11:51:32 +0200 Message-ID: X-Mailer: git-send-email 2.45.2 In-Reply-To: <5d11790ac0fdc5c0cfe7e30fc23530f6ddaede90.1725702551.git.roman@burningswell.com> References: <5d11790ac0fdc5c0cfe7e30fc23530f6ddaede90.1725702551.git.roman@burningswell.com> MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/clojure.scm (clojure-tools-analyzer-jvm): New variable. --- gnu/packages/clojure.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/clojure.scm b/gnu/packages/clojure.scm index e6666c4440..98aed529f5 100644 --- a/gnu/packages/clojure.scm +++ b/gnu/packages/clojure.scm @@ -659,6 +659,34 @@ (define-public clojure-tools-analyzer format.") (license license:epl1.0))) +(define-public clojure-tools-analyzer-jvm + (package + (name "clojure-tools-analyzer-jvm") + (version "1.3.0") + (home-page "https://github.com/clojure/tools.analyzer.jvm") + (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 + "13nxzdp15772hzl3jmi5014jkwldkm1qccfycwkk2pn64hycmnxl")))) + (build-system clojure-build-system) + (arguments + '(#:source-dirs '("src/main/clojure") + #:test-dirs '("src/test/clojure") + #:doc-dirs '("docs"))) + (propagated-inputs (list clojure-tools-analyzer + clojure-tools-reader + clojure-core-memoize + java-asm)) + (synopsis "Analyzer for Clojure code targeting the JVM") + (description "Analyzer for Clojure code, written on top of +tools.analyzer, providing additional JVM-specific passes.") + (license license:epl1.0))) + (define-public clojure-tools-macro (package (name "clojure-tools-macro") From patchwork Sat Sep 7 09:51:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roman Scherer X-Patchwork-Id: 67702 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 198FB27BBEA; Sat, 7 Sep 2024 10:54:18 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_VALIDITY_CERTIFIED, RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE,SPF_HELO_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 9A0CF27BBE2 for ; Sat, 7 Sep 2024 10:54:17 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sms8y-0004p8-9H; Sat, 07 Sep 2024 05:54:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sms8q-0004ng-N9 for guix-patches@gnu.org; Sat, 07 Sep 2024 05:54:04 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sms8q-00061P-DQ for guix-patches@gnu.org; Sat, 07 Sep 2024 05:54:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=nKwF8ZnnH2E4dgmKtu5m9hkrLrRX/pbeLSnrmipNF+g=; b=N86A6a9TH7hHsWEXEiuiIa2pEWzg18XHyMIonxtDNJsckPimhRsbFDSInauI/MOptvc2tVEhYTI+EytSmhBHCiqQIFjW9B3kmH46f3dS8CFc6ltlKAH8GvQx4GeGvX774g4SBNG6wvBze6zmL7LB8Pk8wNnlVZDSjXfev4+sanYINLcah5w0dgCdJkGpIX2spyS2RjVJXMqM99YNsfxXDb11wCNF6mW1xxVXRD8L9NSUy91q9eNK8lXqBo/xs4zmOBqncHvjPRQgx7Q29s2R+cEZGVRb9N7eeWurb6YWcAerJh5XUz3VzdvGWyWEWPGWFjVTmrsFgSsS1mZxdvB+Iw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sms8q-0000V0-Vc for guix-patches@gnu.org; Sat, 07 Sep 2024 05:54:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72463] [PATCH v2 08/10] gnu: Add clojure-tools-logging. Resent-From: Roman Scherer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 07 Sep 2024 09:54:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72463 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72463@debbugs.gnu.org Cc: Roman Scherer Received: via spool by 72463-submit@debbugs.gnu.org id=B72463.17257028011798 (code B ref 72463); Sat, 07 Sep 2024 09:54:04 +0000 Received: (at 72463) by debbugs.gnu.org; 7 Sep 2024 09:53:21 +0000 Received: from localhost ([127.0.0.1]:54899 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sms88-0000Sq-QF for submit@debbugs.gnu.org; Sat, 07 Sep 2024 05:53:21 -0400 Received: from mail-ej1-f41.google.com ([209.85.218.41]:61834) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sms7p-0000Q0-1A for 72463@debbugs.gnu.org; Sat, 07 Sep 2024 05:53:01 -0400 Received: by mail-ej1-f41.google.com with SMTP id a640c23a62f3a-a86859e2fc0so354876666b.3 for <72463@debbugs.gnu.org>; Sat, 07 Sep 2024 02:53:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=burningswell-com.20230601.gappssmtp.com; s=20230601; t=1725702714; x=1726307514; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=nKwF8ZnnH2E4dgmKtu5m9hkrLrRX/pbeLSnrmipNF+g=; b=vRNHd4xXgHoDB7cIbAtBAlgnA/P/wasXzY8iKXvSjHr9XknMWtwMexnLrcWMM3q0xj HutfxemtZuvNIjBu0PNcrW2eGsUTg9GlsFv0h6H+YVBmdLKij+uVrUWIo18KbqWhVULj gYzuVWsvAAtHT0Lv2aNFWYcNunZe4iJGIyqlOPD3zCZeY0JlB15KA9bNk8X2ml5M4LBw jcJmcSCUg6axVrzzbVHTuWWIcCtksbUM2eSFIVtMcxRiaOic3GBs/yFBnsgTiuTFlpQW anAi5Ap454WG5L5rY3PXwMQ0jf4CkiczOGQo9jCJRLP9c6kxPmxWtUw7mARYiDvFrZV4 LGCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725702714; x=1726307514; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=nKwF8ZnnH2E4dgmKtu5m9hkrLrRX/pbeLSnrmipNF+g=; b=io8Bb775PTfFyA2IHhxipT5YBsQF49vUNEsof+XrzMv+1t52dWzoZPIQs8mA6TmARF MctRXPpX0HQ6WDz5GNlZuFha26JZm8/S1t/ClRnTmmbe4WheBa7L/gfMFWxq/QLM1WKk QJZwPoNXKWedGkXEvuqLREArfcgnrwx8eG+Vx8sY7wl4noU2CxOnm25BVEzpJMLDG8ES wdIButS7WixTOU1U5OYvYhilb3Qhvl/KYV3ixju3eY9Qk5Zd/50Afu6A/jzCOMFOTRKE M4Bq5VxIPbeWSruRcoHTW2CkZaegXfLZY5f+IjP0NmhPMWa7qHFchfL2q175aS6T2Nu6 YSPw== X-Gm-Message-State: AOJu0YxcVyBugEd7LXRbq0YQckBX+rXB+U1oT72nozzDs083hDMTHcSb LWhixsVOkAfFJw0WBLnqj6KINOiuigXSKk+sysZgYD4nXgOv7moC90b/1q+H4cRJA4J8IQ0LGbt g X-Google-Smtp-Source: AGHT+IFn0Py3w4ClDi3mWLyVwfOnE8KXcOzfWB08ZPkvjKyiv3CiDoOuan90YjEQxcAc2A6Fvn7+2w== X-Received: by 2002:a17:906:4784:b0:a7a:adac:57d5 with SMTP id a640c23a62f3a-a8a885f544dmr522488166b.18.1725702714362; Sat, 07 Sep 2024 02:51:54 -0700 (PDT) Received: from localhost.localdomain ([2a01:599:a06:885c:78e0:c598:8647:eb0]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a8d25a09e21sm52801566b.84.2024.09.07.02.51.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 07 Sep 2024 02:51:53 -0700 (PDT) From: Roman Scherer Date: Sat, 7 Sep 2024 11:51:33 +0200 Message-ID: <0f60346c2b5b05648e2ced4aefe9e8fd9c2eba87.1725702551.git.roman@burningswell.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <5d11790ac0fdc5c0cfe7e30fc23530f6ddaede90.1725702551.git.roman@burningswell.com> References: <5d11790ac0fdc5c0cfe7e30fc23530f6ddaede90.1725702551.git.roman@burningswell.com> MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/clojure.scm (clojure-tools-logging): New variable. --- gnu/packages/clojure.scm | 47 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/gnu/packages/clojure.scm b/gnu/packages/clojure.scm index 98aed529f5..f11b75140b 100644 --- a/gnu/packages/clojure.scm +++ b/gnu/packages/clojure.scm @@ -889,6 +889,53 @@ (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.3.0") + (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 + "106n4cxsxzs0hvpsfi1h14b09xm6klrvj1g5fbd5nw8fj3mpkdac")))) + (build-system clojure-build-system) + (arguments + '(#:doc-dirs '() + #:source-dirs '("src/main/clojure") + #:test-dirs '("src/test/clojure") + #:phases + (modify-phases %standard-phases + ;; These tests should throw a ClassCastException, but they don't + ;; under AOT. Adjust them :/ + (add-after 'unpack 'disable-failing-tests + (lambda _ + (substitute* (string-append "src/test/clojure/clojure/tools" + "/logging/test_readable.clj") + (((string-append "\\(thrown\\? ClassCastException \\(logf " + ":debug \\(Exception\\.\\)\\)\\)")) + "(nil? (logf :debug (Exception.)))")) + (substitute* "src/test/clojure/clojure/tools/test_logging.clj" + (((string-append "\\(thrown\\? ClassCastException \\(logf " + ":debug \\(Exception\\.\\)\\)\\)")) + "(nil? (logf :debug (Exception.)))"))))))) + (native-inputs + (list java-commons-logging-minimal + java-log4j-1.2-api + java-log4j-api + java-log4j-core + java-slf4j-api + java-slf4j-simple)) + (synopsis "Clojure logging library") + (description "Logging macros which delegate to a specific logging +implementation, selected at runtime when the clojure.tools.logging namespace +is first loaded.") + (license license:epl1.0))) + (define-public clojure-tools-reader (package (name "clojure-tools-reader") From patchwork Sat Sep 7 09:51:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Roman Scherer X-Patchwork-Id: 67704 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 45C6E27BBEA; Sat, 7 Sep 2024 10:54:31 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_VALIDITY_CERTIFIED, RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE,SPF_HELO_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id BA71B27BBE2 for ; Sat, 7 Sep 2024 10:54:30 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sms90-0004po-JX; Sat, 07 Sep 2024 05:54:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sms8r-0004oH-8d for guix-patches@gnu.org; Sat, 07 Sep 2024 05:54:05 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sms8q-00061c-Sx for guix-patches@gnu.org; Sat, 07 Sep 2024 05:54:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=sb6ublpVQeMqm/xJmXIMWH4mKmD9RVCNAJxcu4haUDk=; b=OxFTsjkAHKmN0uTR0ck+xbIQdZ8Yckgpb6M/5F3oLachrgEVSrw5WqJ9XFr7JPU1u64Hj8XgHOeYNJKBKrxhiRgWl/8cIc0ImAmG8TMFZw82cinFbQfFFmGj1ynEoKHEy0Rp9BzOdYj9ZJDgVyxI3P0HT/e5IofprX4zKzbJlLIXcJ+PNvH10MwzNkQkkYOiSnjz8W2yrkHeY7S1AJ7eDRrE3GIwhsskui6Xl6ccsibRyN2uCpmOYhI7rJMF2F+D/0PJet2uZRzdq7eqhklS5T9KNvSPbV2gVi7hLvh+kdbUEkiqLkY3Q+aleryY0pTeqlXbkZ8v5EmgYdWOsmhNyA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sms8r-0000V8-Ek for guix-patches@gnu.org; Sat, 07 Sep 2024 05:54:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72463] [PATCH v2 09/10] gnu: Add clojure-core-async. Resent-From: Roman Scherer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 07 Sep 2024 09:54:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72463 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72463@debbugs.gnu.org Cc: Roman Scherer Received: via spool by 72463-submit@debbugs.gnu.org id=B72463.17257028011805 (code B ref 72463); Sat, 07 Sep 2024 09:54:05 +0000 Received: (at 72463) by debbugs.gnu.org; 7 Sep 2024 09:53:21 +0000 Received: from localhost ([127.0.0.1]:54901 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sms89-0000Sx-4u for submit@debbugs.gnu.org; Sat, 07 Sep 2024 05:53:21 -0400 Received: from mail-wr1-f42.google.com ([209.85.221.42]:53469) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sms7q-0000QO-NV for 72463@debbugs.gnu.org; Sat, 07 Sep 2024 05:53:03 -0400 Received: by mail-wr1-f42.google.com with SMTP id ffacd0b85a97d-374c3400367so2206013f8f.2 for <72463@debbugs.gnu.org>; Sat, 07 Sep 2024 02:53:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=burningswell-com.20230601.gappssmtp.com; s=20230601; t=1725702716; x=1726307516; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=sb6ublpVQeMqm/xJmXIMWH4mKmD9RVCNAJxcu4haUDk=; b=QokCmebXJL9gPg9ceXoqpdo0V1aqWk9F2t2CHdHbvNxCQ7vcfM8pJ4Yyn6L2G5Aff9 SuFrTqqa0UVdLB7mv75ZX4QGxHa25wYvQEDVDgw9AX7NNpqb6UxJnfGEes9QLw06j+t+ EOw2bPpYxxpdRZAIo/SGfRKfO4UfnSOCVZEIFnb303y/n0eJupQSlZHdlaFScd4LDQRq /zVjxH/7vSb7yrliyCJ7ZlC1ENFX4BoqQ6us8Atbf7KhB5TdvNBg2bbSm/MQ0DsJA26b 7T+SD6lJErsVRTpXdOpJgp098tWODL/HaPkqaoqGP39yHZzJQyj9DdIQHJ47vl7AR1y4 BoOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725702716; x=1726307516; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=sb6ublpVQeMqm/xJmXIMWH4mKmD9RVCNAJxcu4haUDk=; b=KJljTY3v1l3kxTcaDQklh0VAwjsiFsk8DdmG+NL0/ZSSrvL3jUHzRg0xBwJn1IfE8E +D7g+IuhjGsb6hp2L3xsHnh5RURMo6UC9mdcChGRJXs+vJyIfXnYR5vuR/mzDLFcuJU1 Ebjfdhi4DhgxzJsw6KhkShbGsQgK6W9IA+7p5EIJaYEwsjSyd67JCxRHbnEReiLdK4qs Oho4AM1IX7SXpAFbjvXpgf/MQS5I9D4qRaUyWwqBa1+tq6Gsj0NGE4P++W50GbpKHToc aDqpKGPBkQiaAGv+1V/rVUqcvC0Tdf56/01cc8bLpNrcd6eZW6u0zt5X1FVHGVv8TzHs urlw== X-Gm-Message-State: AOJu0Yx2gDdv7IWJPCAyv1zcRALlNE8ncAzMD0JGO0LpJiD+8WtJIDFP RwK0ImQf+vrwKv6j/yP+f9buFvzqkjABRLWNvFIIwq8tbZayzbN3r6L2gpYARLRpGlk+ROX/jFk y X-Google-Smtp-Source: AGHT+IFfqDPdAzo4xIUpMDm2jfvp42YkeQYTCSfhkvyDm1WaKHH4kTdk8hmv+ZBQXO6Y7nHx3aVKmQ== X-Received: by 2002:a5d:4387:0:b0:374:c160:269e with SMTP id ffacd0b85a97d-378922a6d58mr1562615f8f.22.1725702715442; Sat, 07 Sep 2024 02:51:55 -0700 (PDT) Received: from localhost.localdomain ([2a01:599:a06:885c:78e0:c598:8647:eb0]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a8d25a09e21sm52801566b.84.2024.09.07.02.51.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 07 Sep 2024 02:51:54 -0700 (PDT) From: Roman Scherer Date: Sat, 7 Sep 2024 11:51:34 +0200 Message-ID: X-Mailer: git-send-email 2.45.2 In-Reply-To: <5d11790ac0fdc5c0cfe7e30fc23530f6ddaede90.1725702551.git.roman@burningswell.com> References: <5d11790ac0fdc5c0cfe7e30fc23530f6ddaede90.1725702551.git.roman@burningswell.com> MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/clojure.scm (clojure-core-async): 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 f11b75140b..4000c075ad 100644 --- a/gnu/packages/clojure.scm +++ b/gnu/packages/clojure.scm @@ -318,6 +318,40 @@ (define-public clojure-algo-monads (home-page "https://github.com/clojure/algo.monads") (license license:epl1.0))) +(define-public clojure-core-async + (package + (name "clojure-core-async") + (version "1.6.681") + (home-page "https://github.com/clojure/core.async") + (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 + "1j9yz14hy2qs8g3flsqkn1sx9c0qlr5mmpy6ab1zml9yhbw5arzg")))) + (build-system clojure-build-system) + (arguments + '(#:source-dirs '("src/main/clojure") + #:test-dirs '("src/test/clojure") + #:doc-dirs '() + #:phases + (modify-phases %standard-phases + ;; Remove ClojureScript code, we are only supporting Clojure for now. + (add-after 'unpack 'delete-cljs + (lambda _ + (delete-file-recursively "src/main/clojure/cljs") + (delete-file-recursively "src/test/cljs")))))) + (propagated-inputs (list clojure-tools-analyzer-jvm)) + (synopsis "Facilities for async programming and communication in Clojure") + (description "The core.async library adds support for asynchronous +programming using channels to Clojure. It provides facilities for independent +threads of activity, communicating via queue-like channels inspired by Hoareā€™s +work on Communicating Sequential Processes (CSP).") + (license license:epl1.0))) + (define-public clojure-core-cache (package (name "clojure-core-cache") From patchwork Sat Sep 7 09:51:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roman Scherer X-Patchwork-Id: 67703 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 8EF6427BBEA; Sat, 7 Sep 2024 10:54:26 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_VALIDITY_CERTIFIED, RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE,SPF_HELO_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 48D6627BBE2 for ; Sat, 7 Sep 2024 10:54:26 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sms92-0004qP-0E; Sat, 07 Sep 2024 05:54:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sms8z-0004pa-TB for guix-patches@gnu.org; Sat, 07 Sep 2024 05:54:13 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sms8r-00061m-B0 for guix-patches@gnu.org; Sat, 07 Sep 2024 05:54:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=dhGq0A7x99P8pwtJLYrVzmNzHOGDhJp4Ml2XPjadnMk=; b=F9Q6L66AhDM6MDAjGtmzqqpWuYcyVDAkGd940AKCaC6nZ5WNv3KuKabI0PECR6ADcQIdrE+YbPnNzQc9uRnLTGuo5sROoejpvNzJlxjz8KHTXEtDLRLpiDkxcMAEbLkXZWHUMxQFKU9R25faw22CCMFy0Lymzq+PSNizsi9KVTLhx3Ip7MHB3XumclVM9S6TLGiTBEXEWcraaU9xhwhgyTx00ZLoMlHOsXMEqvLVYIR+cz/8F4JEbf+KUkaieI1Yr5ekM+oTYR48YKaJ5/NP6PWI+f75yIX7h6Ua2C6DVv2RfnSJzxkdcBStcxHeN53GDK76Jvr3pOlxMl5DwK47fg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sms8r-0000VF-Ti for guix-patches@gnu.org; Sat, 07 Sep 2024 05:54:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72463] [PATCH v2 10/10] gnu: Add http-kit. Resent-From: Roman Scherer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 07 Sep 2024 09:54:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72463 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72463@debbugs.gnu.org Cc: Roman Scherer Received: via spool by 72463-submit@debbugs.gnu.org id=B72463.17257028011812 (code B ref 72463); Sat, 07 Sep 2024 09:54:05 +0000 Received: (at 72463) by debbugs.gnu.org; 7 Sep 2024 09:53:21 +0000 Received: from localhost ([127.0.0.1]:54903 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sms89-0000T4-F9 for submit@debbugs.gnu.org; Sat, 07 Sep 2024 05:53:21 -0400 Received: from mail-ed1-f48.google.com ([209.85.208.48]:60729) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sms7s-0000Qb-4K for 72463@debbugs.gnu.org; Sat, 07 Sep 2024 05:53:04 -0400 Received: by mail-ed1-f48.google.com with SMTP id 4fb4d7f45d1cf-5c3cdba33b0so3272493a12.1 for <72463@debbugs.gnu.org>; Sat, 07 Sep 2024 02:53:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=burningswell-com.20230601.gappssmtp.com; s=20230601; t=1725702717; x=1726307517; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=dhGq0A7x99P8pwtJLYrVzmNzHOGDhJp4Ml2XPjadnMk=; b=qmoQTeUT8XfWahB8LmvlaJHVDup/60XwDZRYmAy+CzSpZCeiGok2K3jLmouIvEvpo1 474LjdxT27E6ekSSHfVDnOtGbJ866BAJm7SJj7XLIWyOGguCQgPQlN1+wBmeLR394PfI 9iENEjMQ07IubIp7hdaZ4geUgZ9eAkPG9lWvutyCNLk7W1/ZEmLauzPjpLYQE0J6Pa/i e97Xwvhn5yqKpgXJ27nO90IMlye8bbGtngQNLN5Bh2Nee3QdQQ5GQxwPbMHirNUx5ZPn eVbOrQAz9nsPi3PeYIHngRoa/JHh5gOTi1KUyUfMEBWOlhpTlgcZPhDnadHIsiex5bxv Z5OQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725702717; x=1726307517; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=dhGq0A7x99P8pwtJLYrVzmNzHOGDhJp4Ml2XPjadnMk=; b=mKDXeuSYSnw9Sxiq9lbLlhUQHVZ1UUyqQwQVr5aCmS/nAoO46untqfa3lueScjp2co Htr4mPkPJ2NEGRgDbIlOIZJGmLKIictJUEwgkzEMDvhgSR5q5EYK94828RllEcZObCts LQ7LKYRp7KO2kVhilhRKxDdRLMmyyWH1xAprvVpw/zohRgOED7qMc/8SjXcoJLEYdgO0 wQfm6jld5rX0MeIctTnAmiKwJVXFtsb1+mgBnsxJDz8knrxRYg//t5WHSylSuLObpArd sufmgNc0Cgmf4Kl7GQiB5wcdJyG1Fp0mK/lcHPR4I4UncLYsio7DxiUJ+Q/xua18Lb1w o2qw== X-Gm-Message-State: AOJu0Yzu+HOdJ+GKP4wZD2epknL1nRW+9SP1sKzNkOId16VIO97Yu64u lYlCdGWtTJHgPqoi76bUD3nLsQMX18NTx1taSoDlmvGnUziKsHQy9mc7BzDa6DA/qrDIlVIyS/8 y X-Google-Smtp-Source: AGHT+IHTZR5lech4l+nD/PTe1KNaGh+/t96q4LtTc0bvXRjsIbrtkzh8BnYSrzQF8gng6RweAbdH8A== X-Received: by 2002:a17:907:72d2:b0:a8d:35cf:85f6 with SMTP id a640c23a62f3a-a8d35cf8703mr2208966b.57.1725702716897; Sat, 07 Sep 2024 02:51:56 -0700 (PDT) Received: from localhost.localdomain ([2a01:599:a06:885c:78e0:c598:8647:eb0]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a8d25a09e21sm52801566b.84.2024.09.07.02.51.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 07 Sep 2024 02:51:56 -0700 (PDT) From: Roman Scherer Date: Sat, 7 Sep 2024 11:51:35 +0200 Message-ID: <7a4be135b4f2dfe44fdeb3dfb9754b07d3518a5b.1725702551.git.roman@burningswell.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <5d11790ac0fdc5c0cfe7e30fc23530f6ddaede90.1725702551.git.roman@burningswell.com> References: <5d11790ac0fdc5c0cfe7e30fc23530f6ddaede90.1725702551.git.roman@burningswell.com> MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/clojure.scm (http-kit): New variable. --- gnu/packages/clojure.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/clojure.scm b/gnu/packages/clojure.scm index 4000c075ad..1aa81c21ae 100644 --- a/gnu/packages/clojure.scm +++ b/gnu/packages/clojure.scm @@ -995,3 +995,28 @@ (define-public clojure-tools-reader provided by the Clojure Core reader and more. It adds metadata such as column and line numbers not only to lists, but also to symbols, vectors and maps.") (license license:epl1.0))) + +(define-public http-kit + (package + (name "http-kit") + (version "2.8.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/http-kit/http-kit") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1361bpb4sn3dbp215s7gf1bcrb45lgx3lk6lix7bndw9lahr5ank")))) + (build-system clojure-build-system) + (arguments + '(#:java-source-dirs '("src/java") + #:source-dirs '("src") + #:doc-dirs '() + #:tests? #f)) ;; Too many unpackaged dependencies + (synopsis "Simple, high-performance event-driven HTTP client and server for Clojure") + (description "Minimalist, event-driven, high-performance Clojure HTTP +client and server library with WebSocket and asynchronous support.") + (home-page "https://github.com/http-kit/http-kit") + (license license:asl2.0)))