From 725a73048232738e76c461931cab80e5a05dd6fb Mon Sep 17 00:00:00 2001 From: Mathieu Othacehe Date: Sun, 24 Dec 2023 21:40:43 +0100 Subject: [PATCH] gnu: Add rust-rpds-1. * gnu/packages/crates-io.scm (rust-rpds-1): New variable. Signed-off-by: Mathieu Othacehe Change-Id: I91b02a357e679ab4b8361bf232d2fec473a5f910 --- 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 5e60e33483..1bfd8fb143 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -64088,6 +64088,33 @@ (define-public rust-rpassword-4 (sha256 (base32 "17z99xazhhbaczw0ib1vnnq450j0zacdn8b2zcbdir68sdbicdwr")))))) +(define-public rust-rpds-1 + (package + (name "rust-rpds") + (version "1.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rpds" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "194hjbsicmgqi3dyllqrz09mmhh597m2j9l49lr16cyfscambqd0")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-archery" ,rust-archery-1) + ("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs + (("rust-bincode" ,rust-bincode-1) + ("rust-criterion" ,rust-criterion-0.5) + ("rust-pretty-assertions" ,rust-pretty-assertions-1) + ("rust-rand" ,rust-rand-0.8) + ("rust-static-assertions" ,rust-static-assertions-1)))) + (home-page "https://github.com/orium/rpds") + (synopsis "Persistent data structures with structural sharing") + (description "This package provides support for fully persistent data +structures with structural sharing.") + (license license:mpl2.0))) + (define-public rust-runtime-0.3 (package (name "rust-runtime")