guix-commits
[Top][All Lists]
Advanced

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

58/194: gnu: Add rust-servo-arc-0.2.


From: guix-commits
Subject: 58/194: gnu: Add rust-servo-arc-0.2.
Date: Tue, 3 Oct 2023 14:57:24 -0400 (EDT)

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

commit 37a409f92c20d5dd3e213f669515674d44ee6caf
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Oct 1 16:41:24 2023 +0300

    gnu: Add rust-servo-arc-0.2.
    
    * gnu/packages/crates-io.scm (rust-servo-arc-0.2): New variable.
    (rust-servo-arc-0.1): Inherit from rust-servo-arc-0.2.
---
 gnu/packages/crates-io.scm | 34 ++++++++++++++++++++++++++--------
 1 file changed, 26 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 27ea03cf46..461bbd7ed6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -61523,8 +61523,33 @@ for data that potentially contains secrets (e.g. 
cryptographic keys).")
        (("rust-quote" ,rust-quote-0.6)
         ("rust-syn" ,rust-syn-0.15))))))
 
+(define-public rust-servo-arc-0.2
+  (package
+    (name "rust-servo-arc")
+    (version "0.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "servo-arc" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0hgp453zvrj7ry501jhxlcph0hc42gc26zyfwn8ys3yziwps8anm"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-nodrop" ,rust-nodrop-0.1)
+        ("rust-serde" ,rust-serde-1)
+        ("rust-stable-deref-trait" ,rust-stable-deref-trait-1))))
+    (home-page "https://github.com/servo/servo";)
+    (synopsis "Fork of std::sync::Arc with some extra functionality")
+    (description
+     "This package provides a fork of @code{std::sync::Arc} with some extra
+functionality and without weak references.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-servo-arc-0.1
   (package
+    (inherit rust-servo-arc-0.2)
     (name "rust-servo-arc")
     (version "0.1.1")
     (source
@@ -61536,18 +61561,11 @@ for data that potentially contains secrets (e.g. 
cryptographic keys).")
         (sha256
          (base32
           "0cjljr9znwahry6p95xvd3p4pmy24wlf6gbfidnmglg002w3i0nr"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
        (("rust-nodrop" ,rust-nodrop-0.1)
         ("rust-serde" ,rust-serde-1)
-        ("rust-stable-deref-trait" ,rust-stable-deref-trait-1))))
-    (home-page "https://github.com/servo/servo";)
-    (synopsis "Fork of std::sync::Arc with some extra functionality")
-    (description
-     "This package provides a fork of @code{std::sync::Arc} with some extra
-functionality and without weak references.")
-    (license (list license:expat license:asl2.0))))
+        ("rust-stable-deref-trait" ,rust-stable-deref-trait-1))))))
 
 (define-public rust-serial-test-derive-0.4
   (package



reply via email to

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