summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorValentin Ignatev <valentignatev@gmail.com>2020-01-18 21:10:49 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-02-19 09:53:24 +0200
commit192363333d039db7786ef24b83f85684e290abb9 (patch)
tree48a08e7ad40612ff5020c4e2efbb4fbc31b19e07 /gnu
parentf8d773f43352a3306f99b5ea8253407b4e32e4d8 (diff)
gnu: Add rust-lazy-static-0.2.
* gnu/packages/crates-io.scm (rust-lazy-static-0.2): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu')
-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 ab7909306e..d663db9d77 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")