Subject: [bug#67919] [PATCH 45/55] gnu: Add rust-topology-traits-0.1.

From: Jaeme Sifat <[email-masked]>
Date: Tue, 19 Dec 2023 22:55:07 -0500

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

Change-Id: I624c5b09a50d027cf273fe7b67aabda0e4c6308c
---
 gnu/packages/crates-io.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 233bfb1e50..c6e5a44a81 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -82477,6 +82477,27 @@ (define-public rust-tonic-0.6
 performance, interoperability, and flexibility.")
     (license license:expat)))
 
+(define-public rust-topology-traits-0.1
+  (package
+    (name "rust-topology-traits")
+    (version "0.1.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "topology-traits" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0cj03w5h0yp3mfrpry5llyj5clmmj8q6xz9vbl8k07jk52sdmj60"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-num-traits" ,rust-num-traits-0.2))))
+    (home-page "https://github.com/NicolasKlenert/topology-traits")
+    (synopsis "Topological traits for generic mathematics in Rust")
+    (description
+     "This package provides topological traits for generic mathematics in
+Rust.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-totp-lite-1
   (package
     (name "rust-totp-lite")
-- 
2.41.0