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