Subject: [bug#71110] [PATCH rust-team 19/37] gnu: Add rust-num-cmp-0.1.

From: Nicolas Goaziou <[email-masked]>
Date: Wed, 22 May 2024 11:45:37 +0200

* gnu/packages/crates-io.scm (rust-num-cmp-0.1): New variable.

Change-Id: Ic7d6bb4dddc3d6cac2e7ce41c78b4ac94f6ac38a
---
 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 54520dc8db..bf386f58ba 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -47220,6 +47220,25 @@ (define-public rust-num-bigint-dig-0.7
         ("rust-rand-xorshift" ,rust-rand-xorshift-0.3)
         ("rust-serde-test" ,rust-serde-test-1))))))
 
+(define-public rust-num-cmp-0.1
+  (package
+    (name "rust-num-cmp")
+    (version "0.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "num-cmp" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1alavi36shn32b3cwbmkncj1wal3y3cwzkm21bxy5yil5hp5ncv3"))))
+    (build-system cargo-build-system)
+    (home-page "https://github.com/lifthrasiir/num-cmp")
+    (synopsis "Comparison between differently typed numbers")
+    (description
+     "This crate provides tools for comparison between differently typed
+numbers.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-num-complex-0.4
   (package
     (name "rust-num-complex")
-- 
2.41.0