summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-06-22 10:15:49 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-06-22 14:15:33 +0300
commit80cfe5458cd36a3e3d5c18cd7e61c37a316ba40e (patch)
tree6c0e161fff44f64cb1d19f75d3d58230907eeadc
parentf4022d8549002335cb4df5b5cd481d974d61149a (diff)
gnu: Add rust-once-cell-0.1.
* gnu/packages/crates-io.scm (rust-once-cell-0.1): New variable.
-rw-r--r--gnu/packages/crates-io.scm20
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b7c59cdab4..8161ee9ee1 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -14500,6 +14500,26 @@ 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-0.1
+ (package
+ (inherit rust-once-cell-1.2)
+ (name "rust-once-cell")
+ (version "0.1.8")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "once-cell" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0drcjs7si0hygc0v64y55hkxv9fpvlvrb3wl5374b2hnc6i2jb2k"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-parking-lot" ,rust-parking-lot-0.7))
+ #:cargo-development-inputs
+ (("rust-crossbeam-utils" ,rust-crossbeam-utils-0.6))))))
+
(define-public rust-oorandom-11.1
(package
(name "rust-oorandom")