guix-commits
[Top][All Lists]
Advanced

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

33/39: gnu: Add rust-servo-arc@0.1.1.


From: guix-commits
Subject: 33/39: gnu: Add rust-servo-arc@0.1.1.
Date: Thu, 16 Jul 2020 21:40:51 -0400 (EDT)

dannym pushed a commit to branch wip-desktop
in repository guix.

commit c8c0108a29594fe5cb102c6b2308a04d8c82df8e
Author: Raghav Gururajan <raghavgururajan@disroot.org>
AuthorDate: Thu Jul 9 08:58:21 2020 -0400

    gnu: Add rust-servo-arc@0.1.1.
    
    * gnu/packages/crates-io.scm (rust-servo-arc-0.1): New variable.
    
    Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
---
 gnu/packages/crates-io.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 6ec9946..3dace41 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -21970,6 +21970,41 @@ for the serde framework.")
     (description "Serialising Rust tests")
     (license license:expat)))
 
+(define-public rust-servo-arc-0.1
+  (package
+    (name "rust-servo-arc")
+    (version "0.1.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "servo-arc" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0cjljr9znwahry6p95xvd3p4pmy24wlf6gbfidnmglg002w3i0nr"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'patch-versions
+           (lambda _
+             (substitute* "Cargo.toml"
+               (("0\\.1\\.8")
+                "0.1.14")
+               (("1\\.0\\.0")
+                "1.1.1"))
+             #t)))
+       #:cargo-inputs
+       (("rust-nodrop" ,rust-nodrop-0.1)
+        ("rust-serde" ,rust-serde-1.0)
+        ("rust-stable-deref-trait" ,rust-stable-deref-trait-1.1))))
+    (home-page "https://crates.io/crates/servo_arc";)
+    (synopsis "Servo in Rust")
+    (description "A fork of std::sync::Arc with some extra functionality and
+without weak references.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-servo-fontconfig-0.4
   (package
     (name "rust-servo-fontconfig")



reply via email to

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