Subject: [PATCH 076/228] gnu: Add rust-msvc-demangler-0.9.

From: Herman Rimm <[email-masked]>
Date: Sun, 18 Feb 2024 22:03:14 +0100

* gnu/packages/crates-io.scm (rust-msvc-demangler-0.9): Add variable.
(rust-muldiv-1): Place variable in alphabetical order.

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d43c947d9a..cbc8d4d2fc 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -38976,6 +38976,49 @@ (define-public rust-mptcp-pm-0.1
     (description "Linux kernel MPTCP path manager netlink Library.")
     (license license:expat)))
 
+(define-public rust-msvc-demangler-0.9
+  (package
+    (name "rust-msvc-demangler")
+    (version "0.9.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "msvc-demangler" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1j7kkmbd9yvhk7dmvd29pqcg9mcjdw5p1ia1kihh16zss1nprdmz"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1))))
+    (home-page "https://github.com/mstange/msvc-demangler-rust")
+    (synopsis
+     "Rust library that demangles C++ symbols mangled by MSVC")
+    (description
+     "This package provides a rust library that demangles (undecorates)
+C++ symbols mangled by MSVC.")
+    (license (list license:expat license:ncsa))))
+
+(define-public rust-muldiv-1
+  (package
+    (name "rust-muldiv")
+    (version "1.0.1")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "muldiv" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1c6ljsp41n8ijsx7zicwfm135drgyhcms12668ivvsbm1r98frwm"))))
+    (build-system cargo-build-system)
+    (arguments
+     (list #:cargo-inputs `(("rust-quickcheck" ,rust-quickcheck-1))))
+    (home-page "https://github.com/sdroege/rust-muldiv")
+    (synopsis "Trait for numeric types to combine multiplication and division")
+    (description
+     "This package provides a trait for numeric types to perform combined
+multiplication and division with overflow protection.")
+    (license license:expat)))
+
 (define-public rust-multer-2
   (package
     (name "rust-multer")
@@ -39015,27 +39058,6 @@ (define-public rust-multer-2
 async Rust environment e.g. any async server.")
     (license license:expat)))
 
-(define-public rust-muldiv-1
-  (package
-    (name "rust-muldiv")
-    (version "1.0.1")
-    (source (origin
-              (method url-fetch)
-              (uri (crate-uri "muldiv" version))
-              (file-name (string-append name "-" version ".tar.gz"))
-              (sha256
-               (base32
-                "1c6ljsp41n8ijsx7zicwfm135drgyhcms12668ivvsbm1r98frwm"))))
-    (build-system cargo-build-system)
-    (arguments
-     (list #:cargo-inputs `(("rust-quickcheck" ,rust-quickcheck-1))))
-    (home-page "https://github.com/sdroege/rust-muldiv")
-    (synopsis "Trait for numeric types to combine multiplication and division")
-    (description
-     "This package provides a trait for numeric types to perform combined
-multiplication and division with overflow protection.")
-    (license license:expat)))
-
 (define-public rust-multimap-0.8
   (package
     (name "rust-multimap")
-- 
2.41.0