[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
121/134: gnu: Add rust-uom-0.36.
From: |
guix-commits |
Subject: |
121/134: gnu: Add rust-uom-0.36. |
Date: |
Tue, 3 Dec 2024 10:04:44 -0500 (EST) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 238ffdfdbe7a338c9e8e1cff23ccacb6fadf9b67
Author: Jordan Moore <lockbox@struct.foo>
AuthorDate: Mon Dec 2 22:00:41 2024 -0500
gnu: Add rust-uom-0.36.
* gnu/packages/crates-io.scm (rust-uom-0.36): New variable.
(rust-uom-0.34): Inherit from rust-uom-0.36.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Change-Id: Idbc3c4afac37bfa114e7c39259c4e727e2c5ad05
---
gnu/packages/crates-io.scm | 48 ++++++++++++++++++++++++++++++++++------------
1 file changed, 36 insertions(+), 12 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ff8c1df1f8..1e009e952d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -92290,8 +92290,43 @@ untrusted inputs in Rust.")
(sha256
(base32 "0byf88b7ca1kb5aap8f6npp6xncvg95dnma8ipmnmd4n9r5izkam"))))))
+(define-public rust-uom-0.36
+ (package
+ (name "rust-uom")
+ (version "0.36.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "uom" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "176dszv02ki1a49hvv2nkszjcn4m8ccfjgh5hhji2pd6a19nxlzz"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-num-bigint" ,rust-num-bigint-0.4)
+ ("rust-num-complex" ,rust-num-complex-0.4)
+ ("rust-num-rational" ,rust-num-rational-0.4)
+ ("rust-num-traits" ,rust-num-traits-0.2)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-typenum" ,rust-typenum-1))
+ #:cargo-development-inputs (("rust-approx" ,rust-approx-0.5)
+ ("rust-quickcheck" ,rust-quickcheck-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-static-assertions"
,rust-static-assertions-1))))
+ (home-page "https://github.com/iliekturtles/uom")
+ (synopsis "Units of measurement")
+ (description
+ "@code{uom} (Units of measurement) is a crate that does automatic
type-safe
+zero-cost dimensional analysis. You can create your own systems or use the
pre-built
+International System of Units (SI) which is based on the International System
of
+Quantities (ISQ) and includes numerous quantities (length, mass, time, ...)
with
+conversion factors for even more numerous measurement units (meter, kilometer,
foot,
+mile, ...).")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-uom-0.34
(package
+ (inherit rust-uom-0.36)
(name "rust-uom")
(version "0.34.0")
(source (origin
@@ -92301,7 +92336,6 @@ untrusted inputs in Rust.")
(sha256
(base32
"190n79b5ywa9w0j13ld0q6dphz7vzsjkwrpp8pjnwrczsvfhxxg8"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-num-complex" ,rust-num-complex-0.4)
("rust-num-rational" ,rust-num-rational-0.4)
@@ -92312,17 +92346,7 @@ untrusted inputs in Rust.")
#:cargo-development-inputs (("rust-approx" ,rust-approx-0.5)
("rust-quickcheck" ,rust-quickcheck-0.8)
("rust-serde-json" ,rust-serde-json-1)
- ("rust-static-assertions"
,rust-static-assertions-1))))
- (home-page "https://github.com/iliekturtles/uom")
- (synopsis "Units of measurement")
- (description
- "@code{uom} (Units of measurement) is a crate that does automatic
type-safe
-zero-cost dimensional analysis. You can create your own systems or use the
pre-built
-International System of Units (SI) which is based on the International System
of
-Quantities (ISQ) and includes numerous quantities (length, mass, time, ...)
with
-conversion factors for even more numerous measurement units (meter, kilometer,
foot,
-mile, ...).")
- (license (list license:expat license:asl2.0))))
+ ("rust-static-assertions"
,rust-static-assertions-1))))))
(define-public rust-uom-0.30
(package
- 72/134: gnu: Add rust-libtest-mimic-0.4., (continued)
- 72/134: gnu: Add rust-libtest-mimic-0.4., guix-commits, 2024/12/03
- 83/134: gnu: Add rust-windows-interface-0.56., guix-commits, 2024/12/03
- 97/134: gnu: rust-clap-builder-4: Update to 4.5.21., guix-commits, 2024/12/03
- 87/134: gnu: Add rust-windows-0.56., guix-commits, 2024/12/03
- 07/134: gnu: rust-gix-date-0.9: Update to 0.9.1., guix-commits, 2024/12/03
- 45/134: gnu: Add rust-gix-dir-0.5., guix-commits, 2024/12/03
- 54/134: gnu: Add rust-pulldown-cmark-escape-0.11., guix-commits, 2024/12/03
- 56/134: gnu: rust-peg-macros-0.8: Update to 0.8.4., guix-commits, 2024/12/03
- 95/134: gnu: Add rust-trim-in-place-0.1., guix-commits, 2024/12/03
- 105/134: gnu: Add rust-mockall-0.13., guix-commits, 2024/12/03
- 121/134: gnu: Add rust-uom-0.36.,
guix-commits <=
- 123/134: gnu: Add rust-starship-battery-0.10., guix-commits, 2024/12/03
- 132/134: gnu: Add rust-yaml-rust2-0.9., guix-commits, 2024/12/03
- 17/134: gnu: rust-dunce-1: Update to 1.0.5., guix-commits, 2024/12/03
- 35/134: gnu: rust-textwrap-0.16: Update to 0.16.1., guix-commits, 2024/12/03
- 25/134: gnu: rust-remove-dir-all-0.8: Update to 0.8.4., guix-commits, 2024/12/03
- 36/134: gnu: rust-textwrap-0.16: Don't skip the build., guix-commits, 2024/12/03
- 03/134: gnu: rust-gix-bitmap-0.2: Update to 0.2.12., guix-commits, 2024/12/03
- 05/134: gnu: rust-gix-command-0.3: Update to 0.3.10., guix-commits, 2024/12/03
- 12/134: gnu: rust-gix-trace-0.1: Update to 0.1.11., guix-commits, 2024/12/03
- 18/134: gnu: rust-embed-resource-2: Update to 2.5.1., guix-commits, 2024/12/03