guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

10/19: gnu: Add rust-once-cell-0.1.


From: guix-commits
Subject: 10/19: gnu: Add rust-once-cell-0.1.
Date: Mon, 22 Jun 2020 07:20:24 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 80cfe5458cd36a3e3d5c18cd7e61c37a316ba40e
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Jun 22 10:15:49 2020 +0300

    gnu: Add rust-once-cell-0.1.
    
    * gnu/packages/crates-io.scm (rust-once-cell-0.1): New variable.
---
 gnu/packages/crates-io.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b7c59cd..8161ee9 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]