Subject: [PATCH 36/91] gnu: Add rust-libc-0.1.

From: Sergio Pastor Pérez <[email-masked]>
Date: Tue, 28 Nov 2023 22:12:14 +0100

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

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c3ffe8462b..152cf7367c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -37107,6 +37107,21 @@ (define-public rust-libc-0.2
     (license (list license:expat
                    license:asl2.0))))
 
+(define-public rust-libc-0.1
+  (package
+    (inherit rust-libc-0.2)
+    (name "rust-libc")
+    (version "0.1.12")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "libc" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "08k14zb7bw25avmaj227calcdglb4ac394kklr9nv175fp7p0ap3"))))
+    (arguments
+     `(#:tests? #f)))) ; the name `std` is defined multiple times
+
 (define-public rust-libc-print-0.1
   (package
     (name "rust-libc-print")
-- 
2.41.0