mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 14:28:15 -05:00
gnu: Add rust-once-cell-1.
* gnu/packages/crates-io.scm (rust-once-cell-1): New variable. (rust-once-cell-1.2): Inherit from rust-once-cell-1.
This commit is contained in:
parent
7158dc2d49
commit
cca7cbe932
1 changed files with 29 additions and 7 deletions
|
@ -16110,8 +16110,36 @@ (define-public rust-onig-sys-69.2
|
|||
@code{onig} crate.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public rust-once-cell-1
|
||||
(package
|
||||
(name "rust-once-cell")
|
||||
(version "1.4.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "once-cell" version))
|
||||
(file-name
|
||||
(string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"138n52yni5qym7ds8kxckvhdy4x0m0scy0gl74brmwsahmz1yqqb"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:cargo-inputs
|
||||
(("rust-parking-lot" ,rust-parking-lot-0.10))
|
||||
#:cargo-development-inputs
|
||||
(("rust-crossbeam-utils" ,rust-crossbeam-utils-0.7)
|
||||
("rust-lazy-static" ,rust-lazy-static-1)
|
||||
("rust-regex" ,rust-regex-1))))
|
||||
(home-page "https://github.com/matklad/once_cell")
|
||||
(synopsis "Single assignment cells and lazy values")
|
||||
(description
|
||||
"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
|
||||
|
@ -16123,7 +16151,6 @@ (define-public rust-once-cell-1.2
|
|||
(sha256
|
||||
(base32
|
||||
"1vdz8xlg3r05w3wfjimnc347hgm54i5nrqf72r4mlp0fcdplh7w9"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:skip-build? #t
|
||||
#:cargo-inputs
|
||||
|
@ -16131,12 +16158,7 @@ (define-public rust-once-cell-1.2
|
|||
#:cargo-development-inputs
|
||||
(("rust-crossbeam-utils" ,rust-crossbeam-utils-0.6)
|
||||
("rust-lazy-static" ,rust-lazy-static-1)
|
||||
("rust-regex" ,rust-regex-1))))
|
||||
(home-page "https://github.com/matklad/once_cell")
|
||||
(synopsis "Single assignment cells and lazy values")
|
||||
(description
|
||||
"Single assignment cells and lazy values.")
|
||||
(license (list license:expat license:asl2.0))))
|
||||
("rust-regex" ,rust-regex-1))))))
|
||||
|
||||
(define-public rust-once-cell-0.1
|
||||
(package
|
||||
|
|
Loading…
Reference in a new issue