summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorJaeme Sifat <jaeme@runbox.com>2023-12-19 22:55:08 -0500
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:56:47 +0200
commitac2172fc5d15c9ed53187560b720c279064237d2 (patch)
treee5ff59d62899f307c76a80376c671fc7e987d8ab /gnu
parent89f9441ad35a4fdddb092ddc17a9dcc8e640bfb2 (diff)
downloadguix-ac2172fc5d15c9ed53187560b720c279064237d2.tar.gz
gnu: Add rust-assert-float-eq-1.
* gnu/packages/crates-io.scm (rust-assert-float-eq-1): New variable.

Change-Id: Ifbdf598c1cc348a5a3fe5223c0da3d6ff008b190
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm17
1 files changed, 17 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f20f85d9c5..d158c44486 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -5315,6 +5315,23 @@ assertions on the result of your program's run.")
        #:cargo-development-inputs
        (("rust-docmatic" ,rust-docmatic-0.1))))))
 
+(define-public rust-assert-float-eq-1
+  (package
+    (name "rust-assert-float-eq")
+    (version "1.1.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "assert_float_eq" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0xryhlk2p012y109048c5jj5f448cv0b86ylkjgg5v7dzcpnbsjc"))))
+    (build-system cargo-build-system)
+    (home-page "https://github.com/AlexHuszagh/assert_float_eq")
+    (synopsis "Assertions for floating-point equality")
+    (description "This package provides assertions for floating-point equality.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-assert-fs-1
   (package
     (name "rust-assert-fs")