Subject: [PATCH rust-team 43/77] gnu: Add rust-openssl-src-300.

From: Andrew Wong <[email-masked]>
Date: Sun, 23 Feb 2025 15:21:34 -0500

* gnu/packages/crates-io.scm (rust-openssl-src-300): New variable.

Change-Id: I18249a3ed4c646db006595057a047e18b823a055
---
 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 5c87804449..5ea8e9592f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -50814,6 +50814,27 @@ (define-public rust-openssl-probe-0.1
     (license (list license:asl2.0
                    license:expat))))
 
+(define-public rust-openssl-src-300
+  (package
+    (name "rust-openssl-src")
+    (version "300.4.2+3.4.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "openssl-src" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1qlqq99y6fn2mh50jdp7ga4031k6r9wcz74xx11zwxgrb3hf930n"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-cc" ,rust-cc-1))))
+    (home-page "https://github.com/alexcrichton/openssl-src-rs")
+    (synopsis "Source of OpenSSL and logic to build it.")
+    (description
+     "This package provides Source of @code{OpenSSL} and logic to build it.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-openssl-sys-0.9
   (package
     (name "rust-openssl-sys")
-- 
2.48.1