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.
This commit is contained in:
Efraim Flashner 2020-09-29 14:47:43 +03:00
parent cca7cbe932
commit 51b46fa28c
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351
2 changed files with 4 additions and 27 deletions

View file

@ -703,7 +703,7 @@ (define-public rust-arc-swap-0.4
("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 @@ (define-public rust-duct-0.13
`(#: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 @@ (define-public rust-once-cell-1
"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

View file

@ -3208,7 +3208,7 @@ (define-public librsvg-next
("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)