all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Roman Scherer <roman@burningswell.com>
To: 72463@debbugs.gnu.org
Cc: Roman Scherer <roman@burningswell.com>, andrew@trop.in
Subject: [bug#72463] [PATCH 02/10] gnu: Add clojure-data-priority-map.
Date: Mon,  5 Aug 2024 07:16:46 +0200	[thread overview]
Message-ID: <56961ac6bd5498d5611229e6870371b56261f9e6.1722782570.git.roman@burningswell.com> (raw)
In-Reply-To: <cover.1722782570.git.roman@burningswell.com>

* 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")
-- 
2.45.2





  parent reply	other threads:[~2024-08-05  5:19 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-04 14:44 [bug#72463] [PATCH 00/10] Add Clojure Core packages and HTTPkit Roman Scherer
2024-08-05  5:16 ` [bug#72463] [PATCH 01/10] gnu: Add clojure-data-json Roman Scherer
2024-08-05  5:16 ` Roman Scherer [this message]
2024-08-05  5:16 ` [bug#72463] [PATCH 03/10] gnu: Add clojure-core-cache Roman Scherer
2024-08-05  5:16 ` [bug#72463] [PATCH 04/10] gnu: Add clojure-core-memoize Roman Scherer
2024-08-05  5:16 ` [bug#72463] [PATCH 05/10] gnu: Add clojure-tools-analyzer Roman Scherer
2024-08-05  5:16 ` [bug#72463] [PATCH 06/10] gnu: Add clojure-tools-reader Roman Scherer
2024-08-05  5:16 ` [bug#72463] [PATCH 07/10] gnu: Add clojure-tools-analyzer-jvm Roman Scherer
2024-08-05  5:16 ` [bug#72463] [PATCH 08/10] gnu: Add clojure-tools-logging Roman Scherer
2024-08-05  5:16 ` [bug#72463] [PATCH 09/10] gnu: Add clojure-core-async Roman Scherer
2024-08-05  5:16 ` [bug#72463] [PATCH 10/10] gnu: Add http-kit Roman Scherer
2024-09-06 21:55 ` [bug#72463] [PATCH 00/10] Add Clojure Core packages and HTTPkit Ludovic Courtès
2024-09-07  9:53   ` Roman Scherer
2024-09-12 17:08     ` bug#72463: " Ludovic Courtès
2024-09-12 18:35       ` [bug#72463] " Roman Scherer
2024-09-07  9:51 ` [bug#72463] [PATCH v2 01/10] gnu: Add clojure-data-json Roman Scherer
2024-09-07  9:51   ` [bug#72463] [PATCH v2 02/10] gnu: Add clojure-data-priority-map Roman Scherer
2024-09-07  9:51   ` [bug#72463] [PATCH v2 03/10] gnu: Add clojure-core-cache Roman Scherer
2024-09-07  9:51   ` [bug#72463] [PATCH v2 04/10] gnu: Add clojure-core-memoize Roman Scherer
2024-09-07  9:51   ` [bug#72463] [PATCH v2 05/10] gnu: Add clojure-tools-analyzer Roman Scherer
2024-09-07  9:51   ` [bug#72463] [PATCH v2 06/10] gnu: Add clojure-tools-reader Roman Scherer
2024-09-07  9:51   ` [bug#72463] [PATCH v2 07/10] gnu: Add clojure-tools-analyzer-jvm Roman Scherer
2024-09-07  9:51   ` [bug#72463] [PATCH v2 08/10] gnu: Add clojure-tools-logging Roman Scherer
2024-09-07  9:51   ` [bug#72463] [PATCH v2 09/10] gnu: Add clojure-core-async Roman Scherer
2024-09-07  9:51   ` [bug#72463] [PATCH v2 10/10] gnu: Add http-kit Roman Scherer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=56961ac6bd5498d5611229e6870371b56261f9e6.1722782570.git.roman@burningswell.com \
    --to=roman@burningswell.com \
    --cc=72463@debbugs.gnu.org \
    --cc=andrew@trop.in \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.