From 3e5c122a0462429e4616b1d38b41b1ace4e07a7c Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Thu, 24 Dec 2020 12:13:23 +0100 Subject: gnu: Add rust-byte-pool-0.2. * gnu/packages/crates-io.scm (rust-byte-pool-0.2): New variable. --- gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 6ed63770a7..9b972c3a81 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -4471,6 +4471,29 @@ constants from build.rs or a script.") (("rust-criterion" ,rust-criterion-0.2) ("rust-quickcheck" ,rust-quickcheck-0.8)))))) +(define-public rust-byte-pool-0.2 + (package + (name "rust-byte-pool") + (version "0.2.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "byte-pool" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0yh96ral0pni02bzm3fhvicp1ixz1hz3c5m03hsyq66mk61fjf0y")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-crossbeam-queue" ,rust-crossbeam-queue-0.2) + ("rust-stable-deref-trait" ,rust-stable-deref-trait-1)))) + (home-page "https://crates.io/crates/byte-pool") + (synopsis "Pool of byte slices, for efficient memory usage") + (description + "This package provides a pool of byte slices, for efficient +memory usage.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-byte-tools-0.3 (package (name "rust-byte-tools") -- cgit v1.2.3