From 961676e17de9085435e7c430866c3042e0ab4a0e Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 18 Mar 2024 11:32:15 +0200 Subject: gnu: Add rust-pear-0.2. * gnu/packages/crates-io.scm (rust-pear-0.2): New variable. (rust-pear-0.1): Inherit from rust-pear-0.2. Change-Id: I7b429f42348004910c3f076e4bec19f44d25a09e --- gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++------ 1 file changed, 22 insertions(+), 6 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 3f122f362a..89918ef01f 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -48828,27 +48828,43 @@ (define-public rust-pdqselect-0.1 pdqsort.") (license (list license:asl2.0 license:expat)))) -(define-public rust-pear-0.1 +(define-public rust-pear-0.2 (package (name "rust-pear") - (version "0.1.5") + (version "0.2.8") (source (origin (method url-fetch) (uri (crate-uri "pear" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "02lnp8c414z5ds0lskd4zxlalrjljzpkg8g6kizszij4h52sgprj")))) + (base32 "1j03s6m80iqldnm6jzh3k1fbyk0lxirx8bi4ivgq3k3sq7va1k2c")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-pear-codegen" ,rust-pear-codegen-0.1)))) + `(#:cargo-inputs (("rust-inlinable-string" ,rust-inlinable-string-0.1) + ("rust-pear-codegen" ,rust-pear-codegen-0.2) + ("rust-yansi" ,rust-yansi-1)))) (home-page "https://crates.io/crates/pear") (synopsis "Pear is a fruit") (description "This package provides a pear is a fruit.") (license (list license:expat license:asl2.0)))) +(define-public rust-pear-0.1 + (package + (inherit rust-pear-0.2) + (name "rust-pear") + (version "0.1.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "pear" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "02lnp8c414z5ds0lskd4zxlalrjljzpkg8g6kizszij4h52sgprj")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs (("rust-pear-codegen" ,rust-pear-codegen-0.1)))))) + (define-public rust-pear-codegen-0.2 (package (name "rust-pear-codegen") -- cgit v1.2.3