unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Hartmut Goebel <h.goebel@crazy-compilers.com>
To: 69048@debbugs.gnu.org
Subject: [bug#69048] [PATCH 21/32] gnu: Add rust-zerocopy-derive-0.7.
Date: Sun, 11 Feb 2024 12:43:30 +0100	[thread overview]
Message-ID: <c137749c02c5283b442347522ab4998b747d2fa8.1707650794.git.h.goebel@crazy-compilers.com> (raw)
In-Reply-To: <60825c66932829f895e6426b36d6d290a081ffa5.1707650792.git.h.goebel@crazy-compilers.com>

* gnu/packages/crates-io.scm (rust-zerocopy-derive-0.7): New variable.
  (rust-zerocopy-derive-0.3): Inherit from rust-zerocopy-derive-0.7.
---
 gnu/packages/crates-io.scm | 38 ++++++++++++++++++++++++++++++--------
 1 file changed, 30 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 26678f8bfd..3100aae670 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -91401,8 +91401,37 @@ (define-public rust-zerocopy-0.3
         ("rust-zerocopy-derive" ,rust-zerocopy-derive-0.2))))
     (license license:bsd-3)))
 
+(define-public rust-zerocopy-derive-0.7
+  (package
+    (name "rust-zerocopy-derive")
+    (version "0.7.32")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "zerocopy-derive" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "19nj11md42aijyqnfx8pa647fjzhz537xyc624rajwwfrn6b3qcw"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-proc-macro2" ,rust-proc-macro2-1)
+        ("rust-quote" ,rust-quote-1)
+        ("rust-syn" ,rust-syn-2))
+       #:cargo-development-inputs
+       (("rust-static-assertions" ,rust-static-assertions-1)
+        ("rust-trybuild" ,rust-trybuild-1))))
+    (home-page "https://github.com/google/zerocopy")
+    (synopsis "Custom derive for traits from the zerocopy Rust crate")
+    (description
+     "This package provides custom derive for traits from the zerocopy Rust
+crate.")
+    (license license:bsd-2)))
+
 (define-public rust-zerocopy-derive-0.3
   (package
+    (inherit rust-zerocopy-derive-0.7)
     (name "rust-zerocopy-derive")
     (version "0.3.2")
     (source (origin
@@ -91412,19 +91441,12 @@ (define-public rust-zerocopy-derive-0.3
               (sha256
                (base32
                 "18qr7dqlj89v1xl1g58l2xd6jidv0sbccscgl131gpppba0yc1b5"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t
        #:cargo-inputs
        (("rust-proc-macro2" ,rust-proc-macro2-1)
         ("rust-syn" ,rust-syn-1)
-        ("rust-synstructure" ,rust-synstructure-0.12))))
-    (home-page "https://github.com/google/zerocopy")
-    (synopsis "Custom derive for traits from the zerocopy Rust crate")
-    (description
-     "This package provides custom derive for traits from the zerocopy Rust
-crate.")
-    (license license:bsd-2)))
+        ("rust-synstructure" ,rust-synstructure-0.12))))))
 
 (define-public rust-zerocopy-derive-0.2
   (package
-- 
2.41.0





  parent reply	other threads:[~2024-02-11 11:46 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-11 11:27 [bug#69048] [PATCH 00/32] Add python-pydantic v2 and required rust and python packages Hartmut Goebel
2024-02-11 11:43 ` [bug#69048] [PATCH 01/32] gnu: rust-either-1: Update to 1.10.0 Hartmut Goebel
2024-02-11 11:43   ` [bug#69048] [PATCH 02/32] gnu: rust-ahash-0.8: Update to 0.8.7 Hartmut Goebel
2024-02-11 11:43   ` [bug#69048] [PATCH 03/32] gnu: rust-hashbrown-0.14: Update to 0.14.3 Hartmut Goebel
2024-02-11 11:43   ` [bug#69048] [PATCH 04/32] gnu: rust-heck-0.4: Update to 0.4.1 Hartmut Goebel
2024-02-11 11:43   ` [bug#69048] [PATCH 05/32] gnu: rust-lexical-core-0.8: Update to 0.8.5 Hartmut Goebel
2024-02-11 11:43   ` [bug#69048] [PATCH 06/32] gnu: rust-lexical-parse-float-0.8: " Hartmut Goebel
2024-02-11 11:43   ` [bug#69048] [PATCH 07/32] gnu: rust-lexical-parse-integer-0.8: Update to 0.8.6 Hartmut Goebel
2024-02-11 11:43   ` [bug#69048] [PATCH 08/32] gnu: rust-lexical-util-0.8: Update to 0.8.5 Hartmut Goebel
2024-02-11 11:43   ` [bug#69048] [PATCH 09/32] gnu: rust-lexical-write-float-0.8: " Hartmut Goebel
2024-02-11 11:43   ` [bug#69048] [PATCH 10/32] gnu: rust-lexical-write-integer-0.8: " Hartmut Goebel
2024-02-11 11:43   ` [bug#69048] [PATCH 11/32] gnu: rust-python3-dll-a-0.2: Update to 0.2.9 Hartmut Goebel
2024-02-11 11:43   ` [bug#69048] [PATCH 12/32] gnu: Add rust-codspeed-2 Hartmut Goebel
2024-02-11 11:43   ` [bug#69048] [PATCH 13/32] gnu: Add rust-codspeed-bencher-compat-2 Hartmut Goebel
2024-02-11 11:43   ` [bug#69048] [PATCH 14/32] gnu: Add rust-elain-0.3 Hartmut Goebel
2024-02-11 11:43   ` [bug#69048] [PATCH 15/32] gnu: Add rust-idna-0.5 Hartmut Goebel
2024-02-11 11:43   ` [bug#69048] [PATCH 16/32] gnu: Add rust-iso8601-0.3 Hartmut Goebel
2024-02-11 11:43   ` [bug#69048] [PATCH 17/32] gnu: Add rust-jiter-0.0.6 Hartmut Goebel
2024-02-11 11:43   ` [bug#69048] [PATCH 18/32] gnu: Add rust-strum-0.25 Hartmut Goebel
2024-02-11 11:43   ` [bug#69048] [PATCH 19/32] gnu: Add rust-strum-macros-0.25 Hartmut Goebel
2024-02-11 11:43   ` [bug#69048] [PATCH 20/32] gnu: Add rust-speedate-0.13 Hartmut Goebel
2024-02-11 11:43   ` Hartmut Goebel [this message]
2024-02-11 11:43   ` [bug#69048] [PATCH 22/32] gnu: Add rust-zerocopy-0.7 Hartmut Goebel
2024-02-11 11:43   ` [bug#69048] [PATCH 23/32] gnu: Add rust-pyo3-build-config-0.20 Hartmut Goebel
2024-02-11 11:43   ` [bug#69048] [PATCH 24/32] gnu: Add rust-pyo3-ffi-0.20 Hartmut Goebel
2024-02-11 11:43   ` [bug#69048] [PATCH 25/32] gnu: Add rust-pyo3-macros-backend-0.20 Hartmut Goebel
2024-02-11 11:43   ` [bug#69048] [PATCH 26/32] gnu: Add rust-pyo3-macros-0.20 Hartmut Goebel
2024-02-11 11:43   ` [bug#69048] [PATCH 27/32] gnu: Add rust-pyo3-0.20 Hartmut Goebel
2024-02-11 11:43   ` [bug#69048] [PATCH 28/32] gnu: Add python-annotated-types Hartmut Goebel
2024-02-11 11:43   ` [bug#69048] [PATCH 29/32] gnu: Add python-pydantic-core Hartmut Goebel
2024-02-11 11:43   ` [bug#69048] [PATCH 30/32] gnu: Add python-pydantic-2 Hartmut Goebel
2024-02-11 11:43   ` [bug#69048] [PATCH 31/32] gnu: python-typing-extensions: Update to 4.9.0 Hartmut Goebel
2024-02-11 11:43   ` [bug#69048] [PATCH 32/32] gnu: python-email-validator: Update to 2.1.0.post1 Hartmut Goebel
2024-02-11 14:38 ` bug#69048: [PATCH 00/32] Add python-pydantic v2 and required rust and python packages Efraim Flashner

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=c137749c02c5283b442347522ab4998b747d2fa8.1707650794.git.h.goebel@crazy-compilers.com \
    --to=h.goebel@crazy-compilers.com \
    --cc=69048@debbugs.gnu.org \
    /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).