From 0a2a7e59fb31b7792dda14af765484ee4ea6e0a2 Mon Sep 17 00:00:00 2001 From: Wilko Meyer Date: Mon, 8 Jan 2024 02:52:08 +0100 Subject: gnu: Add rust-ubyte-0.10. * gnu/packages/crates-io.scm (rust-ubyte-0.10): New variable. Change-Id: I6426e2d83843598edd66ff82f08f0d3f80ad06b5 Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 878f42f657..8e7e9eda4f 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -80551,6 +80551,29 @@ implementation is incomplete.") (license (list license:asl2.0 license:expat)))) +(define-public rust-ubyte-0.10 + (package + (name "rust-ubyte") + (version "0.10.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "ubyte" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1spj3k9sx6xvfn7am9vm1b463hsr79nyvj8asi2grqhyrvvdw87p")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs (("rust-serde-json" ,rust-serde-json-1) + ("rust-serde-test" ,rust-serde-test-1)))) + (home-page "https://github.com/SergioBenitez/ubyte") + (synopsis "no_std library for byte units") + (description + "This package provides a simple, complete, const-everything, saturating, +human-friendly, no_std library for byte units.") + (license (list license:expat license:asl2.0)))) + (define-public rust-ucd-parse-0.1 (package (name "rust-ucd-parse") -- cgit v1.2.3