guix-devel
[Top][All Lists]
Advanced

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

[PATCH 73/86] gnu: Add rust-lazycell.


From: ng0
Subject: [PATCH 73/86] gnu: Add rust-lazycell.
Date: Tue, 3 Jan 2017 23:36:29 +0000

* gnu/packages/rust.scm (rust-lazycell): New variable.
---
 gnu/packages/rust.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm
index aed225faa..030b014a1 100644
--- a/gnu/packages/rust.scm
+++ b/gnu/packages/rust.scm
@@ -2001,3 +2001,25 @@ avoid common pitfalls in Rust.")
      "Clippy provides a collection of helpful lints to
 avoid common pitfalls in Rust.")
     (license license:mpl2.0)))
+
+(define-public rust-lazycell
+  (package
+    (name "rust-lazycell")
+    (version "0.5.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "lazycell" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0cb3h771aqnq753krx6f6vpxw3nn41b8gaj24q6y7wqy5z1aaf7c"))))
+    (build-system cargo-build-system)
+    (inputs
+     `(("rust-clippy" ,rust-clippy "src")))
+    (home-page "https://github.com/indiv0/lazycell";)
+    (synopsis "Library providing a lazily filled Cell struct")
+    (description
+     "Lacycell provides a library providing a lazily filled Cell struct.")
+    (license (list license:expat license:asl2.0))))
-- 
2.11.0




reply via email to

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