From 20303e8f559b5e0571f592ef336abea527ec9b7e Mon Sep 17 00:00:00 2001 From: Jaeme Sifat Date: Mon, 30 Oct 2023 22:52:07 -0400 Subject: [PATCH] gnu: Add rust-shellexpand-3. * gnu/packages/crates-io.scm (rust-shellexpand-3): New variable. (rust-shellexpand-2): Inherit from rust-shellexpand-3. Change-Id: I153d86db8c98f6c53ccaa8653b12c3d69573983c Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 25 +++++++++++++++++++++---- 1 file changed, 21 insertions(+), 4 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 48d46b304b..cbe620a54e 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -70671,20 +70671,22 @@ (define-public rust-shell-words-0.1 (sha256 (base32 "0jnrw3f174974fsi2hg48l0klpy24767ib28w0xcvi2ll5axxb1r")))))) -(define-public rust-shellexpand-2 +(define-public rust-shellexpand-3 (package (name "rust-shellexpand") - (version "2.1.2") + (version "3.1.0") (source (origin (method url-fetch) (uri (crate-uri "shellexpand" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1r0i1r2r3dv0rc82xc5vhxmwl3zbvblf91sgmwls0k8chiv81k3w")))) + (base32 "0jz1i14ziz8gbyj71212s7dqrw6q96f25i48zkmy66fcjhxzl0ys")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-dirs" ,rust-dirs-4)))) + `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) + ("rust-dirs" ,rust-dirs-5) + ("rust-os-str-bytes" ,rust-os-str-bytes-6)))) (home-page "https://github.com/netvl/shellexpand") (synopsis "Shell-like expansions in strings") (description @@ -70695,6 +70697,21 @@ (define-public rust-shellexpand-2 some context).") (license (list license:expat license:asl2.0)))) +(define-public rust-shellexpand-2 + (package + (inherit rust-shellexpand-3) + (name "rust-shellexpand") + (version "2.1.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "shellexpand" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1r0i1r2r3dv0rc82xc5vhxmwl3zbvblf91sgmwls0k8chiv81k3w")))) + (arguments + `(#:cargo-inputs (("rust-dirs" ,rust-dirs-4)))))) + (define-public rust-shlex-1 (package (name "rust-shlex")