[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 03/86] gnu: Add rust-lazy-static.
From: |
ng0 |
Subject: |
[PATCH 03/86] gnu: Add rust-lazy-static. |
Date: |
Tue, 3 Jan 2017 23:35:19 +0000 |
* gnu/packages/rust.scm (rust-lazy-static): 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 b0ac22a78..1d96c3af2 100644
--- a/gnu/packages/rust.scm
+++ b/gnu/packages/rust.scm
@@ -308,3 +308,25 @@ C functions often found in libc or other common platform
libraries.")
data, they are usable without `std` and static initializers are
available.")
(license license:expat)))
+
+(define-public rust-lazy-static
+ (package
+ (name "rust-lazy-static")
+ (version "0.2.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "lazy_static" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "16z1h7w702sxnscak38jykxlhxq0b5ip4mndlb46pkaqwzi0xgka"))))
+ (build-system cargo-build-system)
+ (inputs `(("rust-spin" ,rust-spin "src")))
+ (home-page "https://github.com/rust-lang-nursery/lazy-static.rs")
+ (synopsis "Macro for declaring lazily evaluated statics")
+ (description
+ "Lazy-static provides a macro for declaring lazily
+evaluated statics in Rust.")
+ (license license:expat)))
--
2.11.0
- 77 Rust Crates, fluid, roboto-font, libpsyc rust bindings, ng0, 2017/01/03
- [PATCH 03/86] gnu: Add rust-lazy-static.,
ng0 <=
- [PATCH 01/86] gnu: Add rust-libc., ng0, 2017/01/03
- [PATCH 02/86] gnu: Add rust-spin., ng0, 2017/01/03
- [PATCH 04/86] gnu: Add dotherside., ng0, 2017/01/03
- [PATCH 05/86] gnu: Add rust-qml., ng0, 2017/01/03
- [PATCH 08/86] gnu: Add rust-rand., ng0, 2017/01/03
- [PATCH 12/86] gnu: Add rust-winapi-build., ng0, 2017/01/03
- [PATCH 10/86] gnu: Add rust-void., ng0, 2017/01/03