Subject: [PATCH 046/147] gnu: Add rust-cpp-demangle-0.3.

From: Jean-Pierre De Jesus DIAZ <[email-masked]>
Date: Tue, 2 Apr 2024 18:03:58 +0200

* gnu/packages/crates-io.scm (rust-cpp-demangle-0.3): New variable.

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f0a38b7de9..b46d2ef254 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -14692,6 +14692,23 @@ (define-public rust-cpp-demangle-0.4
      "This package provides a crate for demangling C++ symbols.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-cpp-demangle-0.3
+  (package
+    (inherit rust-cpp-demangle-0.4)
+    (name "rust-cpp-demangle")
+    (version "0.3.5")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "cpp_demangle" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "03vi33qz8x7lll0xd3acd3jp39nvzv174wg424qsb1nkm8z9bapf"))))
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-afl" ,rust-afl-0.11)
+                       ("rust-cfg-if" ,rust-cfg-if-1))))))
+
 (define-public rust-cpufeatures-0.2
   (package
     (name "rust-cpufeatures")
-- 
2.41.0