From 189c3e500befe31dc516cd4e1beb2cff6325faca Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 21 Nov 2024 09:12:27 +0200 Subject: 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(-) (limited to 'gnu/packages/crates-io.scm') 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 -- cgit v1.2.3