diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2020-09-29 14:47:43 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-09-30 09:28:25 +0300 |
commit | 51b46fa28cd31cf1cc973ef6ccd05fbef3c4b39d (patch) | |
tree | 7726771311a7a0b5c50c19a07263d341e6a4cb5b | |
parent | cca7cbe932f7c07b4a83e4f1d1bd22b06aa81494 (diff) | |
download | guix-51b46fa28cd31cf1cc973ef6ccd05fbef3c4b39d.tar.gz guix-51b46fa28cd31cf1cc973ef6ccd05fbef3c4b39d.zip |
gnu: rust-once-cell-1.2: Replace with rust-once-cell-1.
* gnu/packages/crates-io.scm (rust-once-cell-1.2): Remove variable.
(rust-arc-swap-0.4, rust-duct-0.13): Adjust accordingly.
* gnu/packages/gnome.scm (librsvg-next): Same.
-rw-r--r-- | gnu/packages/crates-io.scm | 29 | ||||
-rw-r--r-- | gnu/packages/gnome.scm | 2 |
2 files changed, 4 insertions, 27 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index a72334189c..581109398d 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -703,7 +703,7 @@ text or blue underlined text, on ANSI terminals.") ("rust-itertools" ,rust-itertools-0.8) ("rust-model" ,rust-model-0.1) ("rust-num-cpus" ,rust-num-cpus-1) - ("rust-once-cell" ,rust-once-cell-1.2) + ("rust-once-cell" ,rust-once-cell-1) ("rust-proptest" ,rust-proptest-0.8) ("rust-version-sync" ,rust-version-sync-0.8)))) (home-page "https://github.com/vorner/arc-swap") @@ -6391,7 +6391,7 @@ floating-point primitives to an @code{io::Write}.") `(#:skip-build? #t #:cargo-inputs (("rust-libc" ,rust-libc-0.2) - ("rust-once-cell" ,rust-once-cell-1.2) + ("rust-once-cell" ,rust-once-cell-1) ("rust-os-pipe" ,rust-os-pipe-0.8) ("rust-shared-child" ,rust-shared-child-0.3)) #:cargo-development-inputs @@ -16137,32 +16137,9 @@ You probably don't want to link to this crate directly; instead check out the "Single assignment cells and lazy values.") (license (list license:expat license:asl2.0)))) -(define-public rust-once-cell-1.2 - (package - (inherit rust-once-cell-1) - (name "rust-once-cell") - (version "1.2.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "once-cell" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1vdz8xlg3r05w3wfjimnc347hgm54i5nrqf72r4mlp0fcdplh7w9")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-parking-lot" ,rust-parking-lot-0.9)) - #:cargo-development-inputs - (("rust-crossbeam-utils" ,rust-crossbeam-utils-0.6) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-regex" ,rust-regex-1)))))) - (define-public rust-once-cell-0.1 (package - (inherit rust-once-cell-1.2) + (inherit rust-once-cell-1) (name "rust-once-cell") (version "0.1.8") (source diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 0da85fddf6..77ed6678cd 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -3208,7 +3208,7 @@ library.") ("rust-markup5ever" ,rust-markup5ever-0.10) ("rust-nalgebra" ,rust-nalgebra-0.19) ("rust-num-traits" ,rust-num-traits-0.2) - ("rust-once-cell" ,rust-once-cell-1.2) + ("rust-once-cell" ,rust-once-cell-1) ("rust-pkg-config" ,rust-pkg-config-0.3) ("rust-pango" ,rust-pango-0.8) ("rust-pango-sys" ,rust-pango-sys-0.9) |