From 995f8fb7991edad84b40749c0572ad165639be51 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 18 Mar 2024 11:29:52 +0200 Subject: gnu: Add rust-include-flate-0.2. * gnu/packages/crates-io.scm (rust-include-flate-0.2): New variable. (rust-include-flate-0.1): Inherit from rust-include-flate-0.2. Change-Id: I9ba0d54c623129c7be5b8593c5c027982f129067 --- gnu/packages/crates-io.scm | 33 ++++++++++++++++++++++++++------- 1 file changed, 26 insertions(+), 7 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 28c2ad95fc..f24afab8c3 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -31436,24 +31436,24 @@ a trait for tuples.") (description "The procedural macro used by include_dir.") (license license:expat))) -(define-public rust-include-flate-0.1 +(define-public rust-include-flate-0.2 (package (name "rust-include-flate") - (version "0.1.4") + (version "0.2.0") (source (origin (method url-fetch) (uri (crate-uri "include-flate" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0j71284rcjl2pnnrnvp2i4r9dyikpw939gcvz0f7qm91qx4v9p6z")))) + (base32 "1c5dsx6j9jwrd6calhxdgip85qjy45hc8v1740fr61k46ilibqf2")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t ; `#![feature]` may not be used on the stable release channel - #:cargo-inputs - (("rust-include-flate-codegen-exports" ,rust-include-flate-codegen-exports-0.1) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-libflate" ,rust-libflate-1)))) + #:cargo-inputs (("rust-include-flate-codegen-exports" + ,rust-include-flate-codegen-exports-0.1) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-libflate" ,rust-libflate-1)))) (home-page "https://github.com/SOF3/include-flate") (synopsis "Variant of @code{include_bytes!/include_str!} with compression") (description @@ -31461,6 +31461,25 @@ a trait for tuples.") with compile-time deflation and runtime lazy inflation.") (license license:asl2.0))) +(define-public rust-include-flate-0.1 + (package + (inherit rust-include-flate-0.2) + (name "rust-include-flate") + (version "0.1.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "include-flate" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0j71284rcjl2pnnrnvp2i4r9dyikpw939gcvz0f7qm91qx4v9p6z")))) + (arguments + `(#:skip-build? #t ; `#![feature]` may not be used on the stable release channel + #:cargo-inputs + (("rust-include-flate-codegen-exports" ,rust-include-flate-codegen-exports-0.1) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-libflate" ,rust-libflate-1)))))) + (define-public rust-include-flate-codegen-0.1 (package (name "rust-include-flate-codegen") -- cgit v1.2.3