diff options
author | Steve George <steve@futurile.net> | 2023-10-20 21:27:53 +0100 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-10-22 11:22:25 +0300 |
commit | 462af6da201152206dc42f025460cb283a87ded6 (patch) | |
tree | 7dabebefa6f8b465310cb69569b7d01330ce6951 | |
parent | 5d3ce7fef810a09a17b3498e736a174786c9f924 (diff) | |
download | guix-462af6da201152206dc42f025460cb283a87ded6.tar.gz |
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>
-rw-r--r-- | gnu/packages/crates-io.scm | 28 |
1 files changed, 28 insertions, 0 deletions
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") |