guix-commits
[Top][All Lists]
Advanced

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

05/07: gnu: Add rust-lazy-static-0.2.


From: guix-commits
Subject: 05/07: gnu: Add rust-lazy-static-0.2.
Date: Wed, 19 Feb 2020 03:04:56 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit 192363333d039db7786ef24b83f85684e290abb9
Author: Valentin Ignatev <address@hidden>
AuthorDate: Sat Jan 18 21:10:49 2020 +0300

    gnu: Add rust-lazy-static-0.2.
    
    * gnu/packages/crates-io.scm (rust-lazy-static-0.2): New variable.
    
    Signed-off-by: Efraim Flashner <address@hidden>
---
 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 ab79093..d663db9 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -6346,6 +6346,26 @@ requires non-const function calls to be computed.")
     (arguments
      `(#:cargo-inputs (("rust-spin" ,rust-spin-0.5))))))
 
+(define-public rust-lazy-static-0.2
+  (package
+    (inherit rust-lazy-static-1.4)
+    (name "rust-lazy-static")
+    (version "0.2.11")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "lazy_static" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0wxy8vak7jsx6r8gx475pjqpx11p2bfq4wvw6idmqi31mp3k7w3n"))))
+    (arguments
+     `(#:tests? #f      ; Tests fail to compile.
+       #:cargo-inputs
+       (("rust-compiletest-rs" ,rust-compiletest-rs-0.3)
+        ("rust-spin" ,rust-spin-0.4))))))
+
 (define-public rust-lazycell-1.2
   (package
     (name "rust-lazycell")



reply via email to

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