summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-04-24 16:58:15 +0300
committerEfraim Flashner <efraim@flashner.co.il>2023-05-07 19:29:40 +0300
commit5200763c8efc6d4d34f3b54941fd50b6fe28c851 (patch)
tree4031b67d7ebc31ee15c2deae580edb51e8ff8dd7 /gnu
parentcad62dc45ad74bad775661729cd497dfceeb3be6 (diff)
downloadguix-5200763c8efc6d4d34f3b54941fd50b6fe28c851.tar.gz
gnu: Add rust-strict-num-0.1.
* gnu/packages/crates-io.scm (rust-strict-num-0.1): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm19
1 files changed, 19 insertions, 0 deletions
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")