summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-01-02 17:35:35 +0200
committerEfraim Flashner <efraim@flashner.co.il>2020-01-02 20:17:06 +0200
commit7072c72d1fa905902ea1c309c3dda4491ec2f51a (patch)
tree58e4398aaefd37f467107d58cb3d91478c503049
parent36dfd43dc3386b1ef58807b9d58b3c30deaf5e99 (diff)
downloadguix-7072c72d1fa905902ea1c309c3dda4491ec2f51a.tar.gz
gnu: rust-lazy-static-1.3: Skip build.
* gnu/packages/crates-io.scm (rust-lazy-static-1.3)[arguments]: Skip
build. Add rust-spin-0.5 to cargo-inputs.
[properties]: Remove field.
-rw-r--r--gnu/packages/crates-io.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3077f05d4d..7b60a821a4 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -4774,6 +4774,9 @@ language tags.")
          (base32
           "052ac27w189hrf1j3hz7sga46rp84zl2hqnzyihxv78mgzr2jmxw"))))
     (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-spin" ,rust-spin-0.5))))
     (home-page  "https://github.com/rust-lang-nursery/lazy-static.rs")
     (synopsis "Macro for declaring lazily evaluated statics in Rust")
     (description
@@ -4782,7 +4785,6 @@ Rust.  Using this macro, it is possible to have @code{static}s that require code
 to be executed at runtime in order to be initialized.  This includes anything
 requiring heap allocations, like vectors or hash maps, as well as anything that
 requires non-const function calls to be computed.")
-    (properties '((hidden? . #t)))
     (license (list license:asl2.0
                    license:expat))))