guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

282/330: gnu: Add rust-rust-embed-impl-8.


From: guix-commits
Subject: 282/330: gnu: Add rust-rust-embed-impl-8.
Date: Mon, 18 Mar 2024 07:16:37 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit f4dcec388300a5915b279a464be1b6beb032b038
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Mar 18 11:54:26 2024 +0200

    gnu: Add rust-rust-embed-impl-8.
    
    * gnu/packages/crates-io.scm (rust-rust-embed-impl-8): New variable.
    (rust-rust-embed-impl-5): Inherit from rust-rust-embed-impl-8.
    
    Change-Id: I0756d890e3343436813a6f539c625c5b63c811e3
---
 gnu/packages/crates-io.scm | 38 +++++++++++++++++++++++++++++---------
 1 file changed, 29 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d756dc88a1..fbfaa17586 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -60316,8 +60316,36 @@ the file-system during development.")
         ("rust-walkdir" ,rust-walkdir-2)
         ("rust-warp" ,rust-warp-0.2))))))
 
+(define-public rust-rust-embed-impl-8
+  (package
+    (name "rust-rust-embed-impl")
+    (version "8.3.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "rust-embed-impl" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1j2gqh8dl6c26y9iicjfgj9r5in3fw8k52fxnczhlln0qsiw46mr"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1)
+                       ("rust-quote" ,rust-quote-1)
+                       ("rust-rust-embed-utils" ,rust-rust-embed-utils-8)
+                       ("rust-shellexpand" ,rust-shellexpand-3)
+                       ("rust-syn" ,rust-syn-2)
+                       ("rust-walkdir" ,rust-walkdir-2))))
+    (home-page "https://github.com/pyrossh/rust-embed";)
+    (synopsis "Rust custom @code{Derive} macro")
+    (description
+     "This package provides a custom @code{Derive} macro which loads files
+into the Rust binary at compile time during release and loads the file from
+the file-system during development.")
+    (license license:expat)))
+
 (define-public rust-rust-embed-impl-5
   (package
+    (inherit rust-rust-embed-impl-8)
     (name "rust-rust-embed-impl")
     (version "5.9.0")
     (source
@@ -60327,7 +60355,6 @@ the file-system during development.")
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
         (base32 "0rlykmykrpllkf4900wv2jfdmq3m5qqrqhw4fdlbzxrfqi0irn9y"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
        (("rust-proc-macro2" ,rust-proc-macro2-1)
@@ -60335,14 +60362,7 @@ the file-system during development.")
         ("rust-rust-embed-utils" ,rust-rust-embed-utils-5)
         ("rust-shellexpand" ,rust-shellexpand-2)
         ("rust-syn" ,rust-syn-1)
-        ("rust-walkdir" ,rust-walkdir-2))))
-    (home-page "https://github.com/pyros2097/rust-embed";)
-    (synopsis "Rust custom @code{Derive} macro")
-    (description
-     "This package provides a custom @code{Derive} macro which loads files
-into the Rust binary at compile time during release and loads the file from
-the file-system during development.")
-    (license license:expat)))
+        ("rust-walkdir" ,rust-walkdir-2))))))
 
 (define-public rust-rust-embed-utils-8
   (package



reply via email to

[Prev in Thread] Current Thread [Next in Thread]