From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 ANDiGsCKTWKBVAEAgWs5BA (envelope-from ) for ; Wed, 06 Apr 2022 14:42:40 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id GL67E8CKTWIlqAAAG6o9tA (envelope-from ) for ; Wed, 06 Apr 2022 14:42:40 +0200 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 E2D1338AF8 for ; Wed, 6 Apr 2022 14:42:39 +0200 (CEST) Received: from localhost ([::1]:60280 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nc4ze-0001dY-TO for larch@yhetil.org; Wed, 06 Apr 2022 08:42:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59030) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nc4yc-0008Nm-KA for guix-patches@gnu.org; Wed, 06 Apr 2022 08:41:35 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35127) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nc4y7-0000U8-0Y for guix-patches@gnu.org; Wed, 06 Apr 2022 08:41:33 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nc4y6-0000Fs-U4 for guix-patches@gnu.org; Wed, 06 Apr 2022 08:41:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#53765] [PATCH v3 01/17] gnu: Add clojure-data-priority-map. References: <87y22r32hi.fsf@reilysiegel.com> Resent-From: Reily Siegel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 06 Apr 2022 12:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53765 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 53765@debbugs.gnu.org Cc: Maxime Devos Received: via spool by 53765-submit@debbugs.gnu.org id=B53765.1649248830864 (code B ref 53765); Wed, 06 Apr 2022 12:41:02 +0000 Received: (at 53765) by debbugs.gnu.org; 6 Apr 2022 12:40:30 +0000 Received: from localhost ([127.0.0.1]:57241 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nc4xa-0000Ds-9X for submit@debbugs.gnu.org; Wed, 06 Apr 2022 08:40:30 -0400 Received: from mout-p-102.mailbox.org ([80.241.56.152]:44161) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nc4xY-0000Dd-KU for 53765@debbugs.gnu.org; Wed, 06 Apr 2022 08:40:29 -0400 Received: from smtp202.mailbox.org (smtp202.mailbox.org [IPv6:2001:67c:2050:105:465:1:4:0]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-102.mailbox.org (Postfix) with ESMTPS id 4KYPHV1xMWz9sHF; Wed, 6 Apr 2022 14:40:22 +0200 (CEST) From: Reily Siegel DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=reilysiegel.com; s=MBO0001; t=1649248819; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to; bh=v1Tn/Qs2GAeUzjs0nb4drxBAvWNmZKxaiyjFd9taxJ0=; b=0zOxSRokKlzRfHfr3VnNqhxXWG9y7yOVKmV/EgNcfJwQ3+G+Wc7PlbfHhTGaPlPCeD3ybW FrFCRKBVrF51k/2ZW7q9YUMQxb58kBLOn9C8lOXhFE0wPpQBzeCRjd6g0VLRuTeFxG02fA L00hOhEuIxIrcO9kw+RqvhkuvaVsFLVG8vnveo+81b7rwSv/oSAHf2xZf89MSQavW6eN/d H1A3RkKLNfI+9coFtPjKneLf0FpUD1CuWuCtzmMZ6rpr/6JLL85mTk0cbl2+9GiIBkdRMQ oUFH+wAfHJmHzMue0lPlG2t3fHIXzYEKq2iFRsOuMYgumhoeDyGAsW7I4sG6GQ== In-Reply-To: Date: Sat, 15 Jan 2022 17:30:57 -0500 Message-Id: MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1649248959; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=v1Tn/Qs2GAeUzjs0nb4drxBAvWNmZKxaiyjFd9taxJ0=; b=t31O76zfLOanLSbnctbgjczZUSICoRI5j2HvRAWEdKF+MtDd1pLtcBIU80gbAuINoPDXq5 3QwknreMZIDoA36nFkwVWwO70lUks1f89ZlBlQeQF7wlqqjriueCSXIM9OzZTmlarmOMyE OHI2Ef/1tiu/eE4PLeGZEvqRBjNtxYoULAFwqCPvMhYSQZ7795A95/so4xFd31PQLfCP8+ 30SgzurLhq1DItuFqx+KBth/2FL6K1cd74kGIcvc8/epUCDrQc4akeEafG8npCM2P9Asin QfyDaAyjKaBU/LkHribl1VJ5XJ85eVyTDpNhk5FobXIzaEUGn6EG5W81QTGG2w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1649248959; a=rsa-sha256; cv=none; b=ZY4XF9QD7YDfIUVnQuU0+GQwTM6abiIGTlHwqvwISMN4xCC1QIMIUh3EM8J3UOiJia76uY cySJZtsgHNCJsV54vKBl8Dx00YzyCYSrU1aiov/Svj1CL/VILFLCkjatAk7DApRFN6eYe0 bulL8GGhM83ZfwnXQfHuZf4iY87HdFleY3dZmMKBH6KrlnMQkUROCtIQnA72twKia2oV+a R3XV78wZArYUJEkm9+hij7tBMphJOIHxW9F7gGO5QA178dMv8EzguPjB0PJ8+3cfVyboy1 CRNUfb78NfG9jt11buiQpGN9S418pmQdDYxNgrcMi5rH6m4bRNMKCNJsTtHbKA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=reilysiegel.com header.s=MBO0001 header.b=0zOxSRok; 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: 1.63 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=reilysiegel.com header.s=MBO0001 header.b=0zOxSRok; 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: E2D1338AF8 X-Spam-Score: 1.63 X-Migadu-Scanner: scn0.migadu.com X-TUID: 5rhnzX1ONHyg --- gnu/packages/clojure.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/clojure.scm b/gnu/packages/clojure.scm index e6eb749501..44c85b9ef2 100644 --- a/gnu/packages/clojure.scm +++ b/gnu/packages/clojure.scm @@ -315,6 +315,36 @@ (define-public clojure-data-codec is on par with Java implementations, e.g., Apache commons-codec.") (license license:epl1.0))) +(define-public clojure-data-priority-map + (package + (name "clojure-data-priority-map") + (version "1.1.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 + "1i6mf59g2l3vamris869mndy9l1bp5mzfqv5gj5qzzb937iiykm0")))) + (build-system clojure-build-system) + (arguments + '(#:source-dirs '("src/main/clojure") + #:test-dirs '("src/test/clojure") + #:doc-dirs '())) + (home-page "https://github.com/clojure/data.priority-map") + (synopsis "Clojure library implementing priority maps") + (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 @code{[item priority]} pairs. To +support usage as a versatile priority queue, priority maps also support +insert/peek/pop operations.") + (license license:epl1.0))) + (define-public clojure-data-xml (package (name "clojure-data-xml") -- 2.35.1