From 71e18e69f09c46632e91413bf2f1936a6c526020 Mon Sep 17 00:00:00 2001 From: Raghav Gururajan Date: Thu, 9 Jul 2020 08:58:21 -0400 Subject: [PATCH 33/62] gnu: Add rust-servo-arc-0.1. * gnu/packages/crates-io.scm (rust-servo-arc-0.1): New variable. --- 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 2ce55534b3..d0afd99707 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -21969,6 +21969,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") -- 2.27.0