[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#50253] [PATCH 1/5] gnu: Add rust-libc-0.2.98.
From: |
Brice Waegeneire |
Subject: |
[bug#50253] [PATCH 1/5] gnu: Add rust-libc-0.2.98. |
Date: |
Sun, 29 Aug 2021 17:00:29 +0200 |
* gnu/packages/crates-io.scm (rust-libc-0.2.98): New variable.
---
gnu/packages/crates-io.scm | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 087ffa1d27..3cbcf9c826 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -18,6 +18,7 @@
;;; Copyright © 2021 Antero Mejr <antero@kodmin.com>
;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2021 Vinicius Monego <monego@posteo.net>
+;;; Copyright © 2021 Brice Waegeneire <brice@waegenei.re>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -24016,6 +24017,24 @@ values of all the exported APIs match the platform
that libc is compiled for.")
(license (list license:expat
license:asl2.0))))
+(define-public rust-libc-0.2.98
+ (package
+ (inherit rust-libc-0.2)
+ (name "rust-libc")
+ (version "0.2.98")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "libc" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "144728k6d98k3hplzklqn18a134nq6nw0jzdxy1s98sx2xvzw31j"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1))))))
+
(define-public rust-libc-print-0.1
(package
(name "rust-libc-print")
--
2.33.0