guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

06/14: gnu: Add rust-priority-queue-1.


From: guix-commits
Subject: 06/14: gnu: Add rust-priority-queue-1.
Date: Sun, 22 Oct 2023 04:37:46 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 462af6da201152206dc42f025460cb283a87ded6
Author: Steve George <steve@futurile.net>
AuthorDate: Fri Oct 20 21:27:53 2023 +0100

    gnu: Add rust-priority-queue-1.
    
    * gnu/packages/crates-io.scm (rust-priority-queue-1): New variable.
    
    Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
 gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a41f45b3a2..865e8d47df 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -51435,6 +51435,34 @@ losslessly as possible.")
        #: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 #: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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]