diff options
author | John Soo <jsoo1@asu.edu> | 2019-12-19 09:57:16 -0800 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-01-02 20:16:52 +0200 |
commit | 1e09c20bfd02de628295a6baeb43403ec48da2cc (patch) | |
tree | 20b25a89da07bd6277681c1234b228e00a6520b7 | |
parent | e9f0f7bca366f378cb917e6ab1454ea552b444f5 (diff) | |
download | guix-1e09c20bfd02de628295a6baeb43403ec48da2cc.tar.gz |
gnu: Add rust-once-cell-1.2.
* gnu/packages/crates-io.scm (rust-once-cell-1.2): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r-- | gnu/packages/crates-io.scm | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 18b6f8139f..8c074d0276 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -5457,6 +5457,34 @@ slices (@code{.find()}, @code{RevSlice}), strings and other things. Things in odds may move to more appropriate crates if we find them.") (license (list license:asl2.0 license:expat)))) +(define-public rust-once-cell-1.2 + (package + (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")))) + (build-system cargo-build-system) + (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.3) + ("rust-regex" ,rust-regex-1.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-opaque-debug-0.2 (package (name "rust-opaque-debug") |