guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

257/330: gnu: Add rust-pear-0.2.


From: guix-commits
Subject: 257/330: gnu: Add rust-pear-0.2.
Date: Mon, 18 Mar 2024 07:16:31 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit dcecc1bfd92fe4da7c41d2f4092bf29772f8273d
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Mar 18 11:32:15 2024 +0200

    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(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c41ebb2215..db5bb5a564 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -48655,27 +48655,43 @@ library.")
 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]