guix-commits
[Top][All Lists]
Advanced

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

95/111: gnu: Add rust-include-flate-codegen-0.2.


From: guix-commits
Subject: 95/111: gnu: Add rust-include-flate-codegen-0.2.
Date: Thu, 21 Nov 2024 08:33:39 -0500 (EST)

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

commit 8ac507d7ce48c45dd9ab7de246957c84f94992b3
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Nov 21 09:12:27 2024 +0200

    gnu: Add rust-include-flate-codegen-0.2.
    
    * gnu/packages/crates-io.scm (rust-include-flate-codegen-0.2): New
    variable.
    (rust-include-flate-codegen-0.1): Inherit from
    rust-include-flate-codegen-0.2.
    
    Change-Id: Ic5da3ee5de1c1379b6b57e9a98da6f4a230a71c8
---
 gnu/packages/crates-io.scm | 33 +++++++++++++++++++++++++--------
 1 file changed, 25 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4b4175149e..b0331cbd0d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -35332,8 +35332,32 @@ with compile-time deflation and runtime lazy 
inflation.")
         ("rust-lazy-static" ,rust-lazy-static-1)
         ("rust-libflate" ,rust-libflate-1))))))
 
+(define-public rust-include-flate-codegen-0.2
+  (package
+    (name "rust-include-flate-codegen")
+    (version "0.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "include-flate-codegen" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1mz7zyalpn1f53zy12xnbjis93jfh23wy7n6hlxp5gk1c9n28nwc"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-libflate" ,rust-libflate-2)
+                       ("rust-proc-macro2" ,rust-proc-macro2-1)
+                       ("rust-quote" ,rust-quote-1)
+                       ("rust-syn" ,rust-syn-2))))
+    (home-page "https://github.com/SOF3/include-flate";)
+    (synopsis "Macro codegen for the @code{include-flate} crate")
+    (description
+     "This package provides macro codegen for the @code{include-flate} crate.")
+    (license license:asl2.0)))
+
 (define-public rust-include-flate-codegen-0.1
   (package
+    (inherit rust-include-flate-codegen-0.2)
     (name "rust-include-flate-codegen")
     (version "0.1.4")
     (source
@@ -35343,7 +35367,6 @@ with compile-time deflation and runtime lazy 
inflation.")
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
         (base32 "1s34ssq0l3d2sn8n3mxmkz3jbm600fbckd0213mjjcgs34a6wz9s"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t ; `#![feature]` may not be used on the stable release 
channel
        #:cargo-inputs
@@ -35351,13 +35374,7 @@ with compile-time deflation and runtime lazy 
inflation.")
         ("rust-proc-macro-hack" ,rust-proc-macro-hack-0.5)
         ("rust-proc-macro2" ,rust-proc-macro2-1)
         ("rust-quote" ,rust-quote-1)
-        ("rust-syn" ,rust-syn-1))))
-    (home-page "https://github.com/SOF3/include-flate";)
-    (synopsis "Macro codegen for the @code{include-flate} crate")
-    (description
-     "This package provides macro codegen for the @code{include-flate}
-crate.")
-    (license license:asl2.0)))
+        ("rust-syn" ,rust-syn-1))))))
 
 (define-public rust-include-flate-codegen-exports-0.1
   (package



reply via email to

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