guix-commits
[Top][All Lists]
Advanced

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

52/276: gnu: Add rust-rctree-0.5.


From: guix-commits
Subject: 52/276: gnu: Add rust-rctree-0.5.
Date: Wed, 18 Oct 2023 04:49:13 -0400 (EDT)

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

commit 610803c04ee9c7f71820d9b4f4feaabdf609cc30
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Oct 1 16:38:09 2023 +0300

    gnu: Add rust-rctree-0.5.
    
    * gnu/packages/crates-io.scm (rust-rctree-0.5): New variable.
    (rust-rctree-0.4): Inherit from rust-rctree-0.5.
---
 gnu/packages/crates-io.scm | 27 ++++++++++++++++++++-------
 1 file changed, 20 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c599eda1d8..eaf5b72891 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -53894,8 +53894,27 @@ Rust.")
         ("rust-webpki" ,rust-webpki-0.22)
         ("rust-x509-parser" ,rust-x509-parser-0.12))))))
 
+(define-public rust-rctree-0.5
+  (package
+    (name "rust-rctree")
+    (version "0.5.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "rctree" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0kvzahkwriawhjjb08ai7rfi77px7rpx5h83hjcx6dccyxzf4hiv"))))
+    (build-system cargo-build-system)
+    (home-page "https://github.com/RazrFalcon/rctree";)
+    (synopsis "DOM-like tree implemented using reference counting")
+    (description "This package provides a @code{DOM-like} tree implemented 
using
+reference counting.")
+    (license license:expat)))
+
 (define-public rust-rctree-0.4
   (package
+    (inherit rust-rctree-0.5)
     (name "rust-rctree")
     (version "0.4.0")
     (source
@@ -53905,13 +53924,7 @@ Rust.")
         (file-name (string-append name "-" version ".tar.gz"))
         (sha256
          (base32
-          "1s92472lniqn2c0b5ln8ssl014x0raiyzkk0hagrvsd6far2iq4s"))))
-    (build-system cargo-build-system)
-    (home-page "https://github.com/RazrFalcon/rctree";)
-    (synopsis "DOM-like tree implemented using reference counting")
-    (description "This package provides a @code{DOM-like} tree implemented 
using
-reference counting.")
-    (license license:expat)))
+          "1s92472lniqn2c0b5ln8ssl014x0raiyzkk0hagrvsd6far2iq4s"))))))
 
 (define-public rust-rdrand-0.4
   (package



reply via email to

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