summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilko Meyer <w@wmeyer.eu>2024-01-08 02:52:08 +0100
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:57:50 +0200
commit0a2a7e59fb31b7792dda14af765484ee4ea6e0a2 (patch)
treeeefc3cf34c173b6e4d509d70717887183cff98de
parent5397d4a53dd4e9d6e1ce3a2046ea7c784516d749 (diff)
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 <efraim@flashner.co.il>
-rw-r--r--gnu/packages/crates-io.scm23
1 files changed, 23 insertions, 0 deletions
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")