guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#68312] [PATCH 031/156] gnu: Add rust-ubyte-0.10.


From: Wilko Meyer
Subject: [bug#68312] [PATCH 031/156] gnu: Add rust-ubyte-0.10.
Date: Mon, 8 Jan 2024 02:52:08 +0100

* gnu/packages/crates-io.scm (rust-ubyte-0.10): New variable.

Change-Id: I6426e2d83843598edd66ff82f08f0d3f80ad06b5
---
 gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2b56e0c08ef..35889ec5cc9 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -15484,6 +15484,30 @@ (define-public rust-cpuprofiler-0.0
     (description "This package provides bindings to Google's cpu profiler.")
     (license license:bsd-2)))
 
+(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
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-serde" ,rust-serde-1))))
+    (home-page "https://github.com/SergioBenitez/ubyte";)
+    (synopsis
+     "A simple, complete, const-everything, saturating, human-friendly, 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-uom-0.34
   (package
     (name "rust-uom")
-- 
2.41.0






reply via email to

[Prev in Thread] Current Thread [Next in Thread]