Subject: [bug#56663] [PATCH 4/24]: gnu: just: New package.

From: Jean Pierre De Jesus DIAZ <[email-masked]>
Date: Wed, 20 Jul 2022 12:14:50 +0000

Empty Message

From 0b022089c6533e065dd6e6fb2d5ea117cfcc6762 Mon Sep 17 00:00:00 2001
From: Jean-Pierre De Jesus DIAZ <[email-masked]>
Date: Mon, 18 Jul 2022 00:33:23 +0200
Subject: [PATCH 04/24] gnu: rust-zerocopy-derive-0.3: New package.

* gnu/packages/crates-io.scm (rust-zerocopy-derive-0.3): New variable.
* gnu/packages/crates-io.scm (rust-zerocopy-derive-0.2)[inherit]:
  Inherit `rust-zerocopy-derive-0.3'.
---
 gnu/packages/crates-io.scm | 34 +++++++++++++++++++++++++++-------
 1 file changed, 27 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 52bc87230c..d65db2e231 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -72113,8 +72113,34 @@ (define-public rust-zerocopy-0.3
 serialization.")
     (license license:bsd-3)))
 
+(define-public rust-zerocopy-derive-0.3
+  (package
+    (name "rust-zerocopy-derive")
+    (version "0.3.1")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "zerocopy-derive" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "17rab2i1vwmxcr7c6r6xv55nhy41wlay0lpfcyl4vqpgh8mwiyx0"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build #t ;; error[E0463]: can't find crate for `rustc`.
+       #:cargo-inputs
+       (("rust-proc-macro2" ,rust-proc-macro2-1)
+        ("rust-syn" ,rust-syn-1)
+        ("rust-synstructure" ,rust-synstructure-0.12))))
+    (home-page "https://fuchsia.googlesource.com/fuchsia/+/HEAD/src/lib/zerocopy/zerocopy-derive")
+    (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-3)))
+
 (define-public rust-zerocopy-derive-0.2
   (package
+    (inherit rust-zerocopy-derive-0.3)
     (name "rust-zerocopy-derive")
     (version "0.2.1")
     (source
@@ -72130,13 +72156,7 @@ (define-public rust-zerocopy-derive-0.2
        #:cargo-inputs
        (("rust-proc-macro2" ,rust-proc-macro2-1)
         ("rust-syn" ,rust-syn-1)
-        ("rust-synstructure" ,rust-synstructure-0.12))))
-    (home-page "https://fuchsia.googlesource.com/fuchsia/+/HEAD/src/lib/zerocopy/zerocopy-derive")
-    (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-3)))
+        ("rust-synstructure" ,rust-synstructure-0.12))))))
 
 (define-public rust-zeroize-1
   (package
-- 
2.36.1