From patchwork Fri Oct 20 20:27:53 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve George X-Patchwork-Id: 55091 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 41C2727BBEA; Fri, 20 Oct 2023 21:32:11 +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=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, SPF_HELO_PASS 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 70E7C27BBE2 for ; Fri, 20 Oct 2023 21:32:09 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qtw9q-0003aP-UX; Fri, 20 Oct 2023 16:31:46 -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 1qtw9i-0003V1-Fq for guix-patches@gnu.org; Fri, 20 Oct 2023 16:31:39 -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 1qtw9h-0004wk-NR for guix-patches@gnu.org; Fri, 20 Oct 2023 16:31:38 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qtwA9-0004xV-2e; Fri, 20 Oct 2023 16:32:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66579] [PATCH v2 07/15] gnu: Add rust-priority-queue-1 Resent-From: Steve George Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Fri, 20 Oct 2023 20:32:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66579 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 66579@debbugs.gnu.org Cc: steve@futurile.net, efraim@flashner.co.il X-Debbugs-Original-Cc: guix-patches@gnu.org, Steve George X-Debbugs-Original-Xcc: efraim@flashner.co.il Received: via spool by 66579-submit@debbugs.gnu.org id=B66579.169783387818608 (code B ref 66579); Fri, 20 Oct 2023 20:32:05 +0000 Received: (at 66579) by debbugs.gnu.org; 20 Oct 2023 20:31:18 +0000 Received: from localhost ([127.0.0.1]:41630 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qtw9O-0004py-F4 for submit@debbugs.gnu.org; Fri, 20 Oct 2023 16:31:18 -0400 Received: from mailtransmit05.runbox.com ([2a0c:5a00:149::26]:45966) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qtw96-0004lD-96 for 66579@debbugs.gnu.org; Fri, 20 Oct 2023 16:31:01 -0400 Received: from mailtransmit03.runbox ([10.9.9.163] helo=aibo.runbox.com) by mailtransmit05.runbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1qtw8Z-006yYF-7D for 66579@debbugs.gnu.org; Fri, 20 Oct 2023 22:30:27 +0200 Received: from [10.9.9.72] (helo=submission01.runbox) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1qtw8Y-0001gy-RF; Fri, 20 Oct 2023 22:30:27 +0200 Received: by submission01.runbox with esmtpsa [Authenticated ID (641962)] (TLS1.2:ECDHE_SECP256R1__RSA_SHA256__AES_256_GCM:256) (Exim 4.93) id 1qtw8D-00CpdE-I3; Fri, 20 Oct 2023 22:30:05 +0200 From: Steve George Date: Fri, 20 Oct 2023 21:27:53 +0100 Message-ID: <07bd03098616f7bf93fd4907281234d77260caa2.1697832330.git.steve@futurile.net> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: <3e60165e-956b-443a-ae07-db86fd7157d2@gmail.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/crates-io.scm (rust-priority-queue-1): New variable. --- gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 8dc22667d1..83e6f11b05 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -49513,6 +49513,33 @@ (define-public rust-print-bytes-0.4 #:cargo-development-inputs (("rust-os-str-bytes" ,rust-os-str-bytes-2)))))) +(define-public rust-priority-queue-1 + (package + (name "rust-priority-queue") + (version "1.2.3") + (source (origin + (method url-fetch) + (uri (crate-uri "priority-queue" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1id9vzrypiilraw4wd5lh577prkjgyhd5vv77rdcgb7kkbcq4l41")))) + (build-system cargo-build-system) + (arguments + (list #:skip-build? #f + #:cargo-inputs `(("rust-indexmap" ,rust-indexmap-1) + ("rust-serde" ,rust-serde-1) + ("rust-autocfg" ,rust-autocfg-1)) + #:cargo-development-inputs `(("rust-hashbrown" ,rust-hashbrown-0.9) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-serde-test" ,rust-serde-test-1) + ("rust-uuid" ,rust-uuid-0.8)))) + (home-page "https://github.com/garro95/priority-queue") + (synopsis "Efficient priority queue implemented as a heap") + (description "An efficient priority queue with a function to change the +priority of an object.") + (license license:expat))) + (define-public rust-proc-macro-crate-1 (package (name "rust-proc-macro-crate")