Subject: [PATCH 004/120] gnu: Add rust-bumpalo

From: zenmaya <[email-masked]>
Date: Thu, 4 Apr 2024 08:07:18 +0200

Change-Id: I7b4f3ff7a88dfef2b7606480d6f0acce588c97c8
---
 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 193e69d6f2..5fec5ea9aa 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -8523,6 +8523,27 @@ (define-public rust-built-0.5
     (native-inputs (list pkg-config))
     (inputs (list libgit2 zlib))))
 
+(define-public rust-bumpalo-3.15
+  (package
+    (name "rust-bumpalo")
+    (version "3.15.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "bumpalo" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1ahfhgw2lzlgv5j0h07z8mkdnk4kvl2grf8dkb32dm4zsjfrpxkz"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-allocator-api2" ,rust-allocator-api2-0.2))))
+    (home-page "https://github.com/fitzgen/bumpalo")
+    (synopsis "A fast bump allocation arena for Rust.")
+    (description
+     "This package provides a fast bump allocation arena for Rust.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-bumpalo-3
   (package
     (name "rust-bumpalo")
-- 
2.41.0