unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Herman Rimm via Guix-patches via <guix-patches@gnu.org>
To: 75212@debbugs.gnu.org
Cc: Efraim Flashner <efraim@flashner.co.il>
Subject: [bug#75212] [PATCH rust-team 3/7] gnu: Add rust-libc-0.1.
Date: Mon, 30 Dec 2024 20:47:48 +0100	[thread overview]
Message-ID: <4f7f0fb8e8ba323c2732368da32f02f1d4f58526.1735587580.git.herman@rimm.ee> (raw)
In-Reply-To: <6375e73e5e07bfb5322601a5d61dd851979201c4.1735587580.git.herman@rimm.ee>

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

Change-Id: Ifc4effb272f200deb61a04e583db7850ef585dd1
---
 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 6ee05ca09a6..88a3f9fde2f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -40250,6 +40250,25 @@ (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"))
+       (modules '((guix build utils)))
+       (snippet #~(;with-output-to-file "README.md" (const "")
+                   substitute* "Cargo.toml"
+                    (("readme =.*") "edition = \"2015\"\n")))))
+    ;; There is a windows test, and one that needs patching.
+    (arguments '(#:tests? #f))))
+
 (define-public rust-libc-print-0.1
   (package
     (name "rust-libc-print")
-- 
2.45.2





  parent reply	other threads:[~2024-12-30 19:49 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-30 19:39 [bug#75212] [PATCH rust-team 1/7] gnu: Add rust-alloc-counter-macro-0.0.2 Herman Rimm via Guix-patches via
2024-12-30 19:47 ` [bug#75212] [PATCH rust-team 2/7] gnu: Add rust-alloc-counter-0.0.4 Herman Rimm via Guix-patches via
2024-12-30 19:47 ` Herman Rimm via Guix-patches via [this message]
2024-12-30 19:47 ` [bug#75212] [PATCH rust-team 4/7] gnu: Add rust-mmap-0.1 Herman Rimm via Guix-patches via
2024-12-30 19:47 ` [bug#75212] [PATCH rust-team 5/7] gnu: Add rust-x86-0.47 Herman Rimm via Guix-patches via
2024-12-30 19:47 ` [bug#75212] [PATCH rust-team 6/7] gnu: Add rust-perfcnt-0.8 Herman Rimm via Guix-patches via
2024-12-30 19:47 ` [bug#75212] [PATCH rust-team 7/7] gnu: rust-simd-json-0.13: Remove snippet Herman Rimm via Guix-patches via

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4f7f0fb8e8ba323c2732368da32f02f1d4f58526.1735587580.git.herman@rimm.ee \
    --to=guix-patches@gnu.org \
    --cc=75212@debbugs.gnu.org \
    --cc=efraim@flashner.co.il \
    --cc=herman@rimm.ee \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).