guix-commits
[Top][All Lists]
Advanced

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

448/471: gnu: Add rust-strict-num-0.1.


From: guix-commits
Subject: 448/471: gnu: Add rust-strict-num-0.1.
Date: Wed, 3 May 2023 09:29:21 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit 9b0e9c1d825579a80a38361b68d689501002ab18
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Apr 24 16:58:15 2023 +0300

    gnu: Add rust-strict-num-0.1.
    
    * gnu/packages/crates-io.scm (rust-strict-num-0.1): New variable.
---
 gnu/packages/crates-io.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 40c6ad8c29..67c6d62002 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -59860,6 +59860,25 @@ this library enables this optimization for divisors 
that are only known at
 runtime.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-strict-num-0.1
+  (package
+    (name "rust-strict-num")
+    (version "0.1.0")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "strict-num" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1l9b7d0qrdg3nvqim1xvkcis37jmdf565qyxxx2x5vlad4h5zxlx"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-float-cmp" ,rust-float-cmp-0.9))))
+    (home-page "https://github.com/RazrFalcon/strict-num";)
+    (synopsis "Collection of bounded numeric types")
+    (description "This package provides a collection of bounded numeric 
types.")
+    (license license:expat)))
+
 (define-public rust-string-0.2
   (package
     (name "rust-string")



reply via email to

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