From patchwork Mon Aug 5 05:16:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roman Scherer X-Patchwork-Id: 66748 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 7A9C627BBEA; Mon, 5 Aug 2024 06:19: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 00F4C27BBE2 for ; Mon, 5 Aug 2024 06:19:48 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1saq7X-00057x-Kw; Mon, 05 Aug 2024 01:18:59 -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 1saq7F-000553-1S for guix-patches@gnu.org; Mon, 05 Aug 2024 01:18:43 -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 1saq7E-0000lz-LZ for guix-patches@gnu.org; Mon, 05 Aug 2024 01:18:40 -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=6FJf5c+WAEbrRsf6GqwYu0GJADeEeBGBZ7o1n/12Pn8=; b=QalrwdLnFiXvO03prlbi4gU22C6aXL89387goWDxlL3N/tXgWKcalRA/4IP64Jp00u5FSZ10QVowwC/pvYDsUIZkxqhyV24YshJt7ZhTahYLLhRC0S4hfGFFbG9cS3TCcqTOBq7k/SCV3mIRWgsMyoZ1DoG221Z3fsvHDwuTd+oeRo6mwc+ops2Vx12weqkS7zF5HYKsMHGiy7JyDTvJZBfi/lo/YWGWtS/DF9uIEgrBvGrMBvpn5uGObMUxDy6AlZfbt8Dp8Ex3mSQuKEnrOcvWtSRenn742YzN1uPtfvDqHa1b/vuusX8zqJVHemdRbE0rFJyGIoltXCsmgnJqLw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1saq7a-0005TV-JD for guix-patches@gnu.org; Mon, 05 Aug 2024 01:19:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72463] [PATCH 02/10] gnu: Add clojure-data-priority-map. Resent-From: Roman Scherer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 05 Aug 2024 05:19: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 , andrew@trop.in Received: via spool by 72463-submit@debbugs.gnu.org id=B72463.172283511620850 (code B ref 72463); Mon, 05 Aug 2024 05:19:02 +0000 Received: (at 72463) by debbugs.gnu.org; 5 Aug 2024 05:18:36 +0000 Received: from localhost ([127.0.0.1]:57734 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1saq79-0005Q0-Gi for submit@debbugs.gnu.org; Mon, 05 Aug 2024 01:18:36 -0400 Received: from mail-wm1-f45.google.com ([209.85.128.45]:47241) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1saq77-0005PK-FD for 72463@debbugs.gnu.org; Mon, 05 Aug 2024 01:18:33 -0400 Received: by mail-wm1-f45.google.com with SMTP id 5b1f17b1804b1-428163f7635so68452655e9.2 for <72463@debbugs.gnu.org>; Sun, 04 Aug 2024 22:18:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=burningswell-com.20230601.gappssmtp.com; s=20230601; t=1722835025; x=1723439825; 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=6FJf5c+WAEbrRsf6GqwYu0GJADeEeBGBZ7o1n/12Pn8=; b=aUbXiOn1/GhlytD2S9tbbYg8299Kksm9ox7n1KRrNi7uDNdtN2V8tKRAc10hyRh+1Z IXLHiiq8ovzYwxtMJY5sacGmwIGIFJ1LZiN7uL6x2CU4V0kAZozJZWb8disog/CoxGq4 /UNrZh3xZiETu2IQRkZLoa2kITb+bVT81oEN8yi7yUdruciWkOxvp+2NtFYgosBKG6h5 SiHJPwDlKO+6SiTNuG7dxU9Hv60k2EVcaApEax0sh+Z6O3wp7I6nZlh4wSjHZ12HgWDp SHX7j/4Wgv8neP9AzPwwEZFjKHcq+RW52Z49K6lgSVWI86S6XP0qScUkfAH4hjykACcI YKPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722835025; x=1723439825; 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=6FJf5c+WAEbrRsf6GqwYu0GJADeEeBGBZ7o1n/12Pn8=; b=gVkKLVn20KTGvDH954bqpbb6VBgvnupl61/Ic210g/1+PIDkmsx3qKApc1rZPTmzwz I+Ktem0bApyey2um5rD85GDWO4GzTpA7aew/eMKmpA2Ap86HrXSkeQP4Z/eQv0C+SoHE MZWVkiXrb10HbSTTuNOkKWrPzL2m9O+YZ44Gc7uAUJHjiorb54kY/681mvhoq8PhNxWl 3EIYXhRzmJ9I3Ov4DhKYAyUn6divKHcyve/nHOi8M7wpVNXyA2spliKnDxkWKBRUCkBK z5C/B+ApmgKo59u1j9o3n/1+LXJh3gGiRTCN/112u95xG9gmjjPb+sNO4Mf6tEVUMKvy lsjw== X-Gm-Message-State: AOJu0YxLtTk9OXom97gaYElprOwf8oMLCGgDDWyVv4a9tMTRFaxMJ4ld xJyBGhF5yfzTeNCZ8eqpDu3oYp5bfe6zsnRTSsFnuFtkO9fFcbXovOTCg8p1Wnc0rXiEzBpVjtI A X-Google-Smtp-Source: AGHT+IEkz8xLdEBft5k7gAkYm8t8kgGFh/u+1W6Bu3LKQKX1lsf/j8mCLxheSCZ2H+HRYhv2l0awoQ== X-Received: by 2002:a05:6000:1fa2:b0:368:7ee2:b7c8 with SMTP id ffacd0b85a97d-36bbc0e6721mr8091972f8f.1.1722835025172; Sun, 04 Aug 2024 22:17:05 -0700 (PDT) Received: from localhost.localdomain ([2a01:599:924:598d:eaec:5b29:b4bd:5944]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-36bbd0261c2sm8556021f8f.57.2024.08.04.22.17.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 Aug 2024 22:17:04 -0700 (PDT) From: Roman Scherer Date: Mon, 5 Aug 2024 07:16:46 +0200 Message-ID: <56961ac6bd5498d5611229e6870371b56261f9e6.1722782570.git.roman@burningswell.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: References: 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..d824d8e063 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")