diff mbox series

[bug#69890,34/43] gnu: Add rust-pear-0.2.

Message ID b06f79b17eade5833116492368791129ad6eb307.1710817681.git.normally_js@posteo.net
State New
Headers show
Series gnu: Add procs. | expand

Commit Message

normally_js March 19, 2024, 3:51 a.m. UTC
* gnu/packages/crates-io.scm (rust-pear-0.2): New variable.

Change-Id: I49a36b71dffc8aaec868bd98b229ddfda7b9d8ff
---
 gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++++------
 1 file changed, 24 insertions(+), 6 deletions(-)
diff mbox series

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index da9cc94f50..5609684808 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -46648,27 +46648,45 @@  (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")