summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-01-02 17:56:11 +0200
committerEfraim Flashner <efraim@flashner.co.il>2020-01-02 20:17:07 +0200
commit05207cad49fca3c40a0a4d08d9cc0cf9965bd046 (patch)
tree311574cd6f335cdc03131242b7a8e2165f2d3f39 /gnu
parentc85ed23dc81fcbe88af1fbc4297c21248b10cdea (diff)
downloadguix-05207cad49fca3c40a0a4d08d9cc0cf9965bd046.tar.gz
gnu: rust-rand-0.6: Skip build.
* gnu/packages/crates-io.scm (rust-rand-0.6)[arguments]: Skip build. Add
rust-libc-0.2, rust-log-0.4, rust-packed-simd-0.3, rust-rand-chacha-0.1,
rust-rand-core-0.4, rust-rand-hc-0.1, rust-rand-isaac-0.1,
rust-rand-jitter-0.1, rust-rand-os-0.1, rust-rand-pcg-0.1,
rust-rand-xorshift-0.1, rust-winapi-0.3 to cargo-inputs. Add
rust-autocfg-0.1, rust-rand-xoshiro-0.3 to cargo-development-inputs.
[properties]: Remove field.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm25
1 files changed, 20 insertions, 5 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 578fb19dc9..1058745b65 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -7433,12 +7433,29 @@ to write.")
          (base32
           "1jl4449jcl4wgmzld6ffwqj5gwxrp8zvx8w573g1z368qg6xlwbd"))))
     (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-libc" ,rust-libc-0.2)
+        ("rust-log" ,rust-log-0.4)
+        ("rust-packed-simd" ,rust-packed-simd-0.3)
+        ("rust-rand-chacha" ,rust-rand-chacha-0.1)
+        ("rust-rand-core" ,rust-rand-core-0.4)
+        ("rust-rand-hc" ,rust-rand-hc-0.1)
+        ("rust-rand-isaac" ,rust-rand-isaac-0.1)
+        ("rust-rand-jitter" ,rust-rand-jitter-0.1)
+        ("rust-rand-os" ,rust-rand-os-0.1)
+        ("rust-rand-pcg" ,rust-rand-pcg-0.1)
+        ("rust-rand-xorshift" ,rust-rand-xorshift-0.1)
+        ("rust-winapi" ,rust-winapi-0.3))
+       #:cargo-development-inputs
+       (("rust-autocfg" ,rust-autocfg-0.1)
+        ("rust-rand-xoshiro" ,rust-rand-xoshiro-0.3))))
     (home-page "https://crates.io/crates/rand")
     (synopsis "Random number generators and other randomness functionality")
     (description
      "Rand provides utilities to generate random numbers, to convert them to
 useful types and distributions, and some randomness-related algorithms.")
-    (properties '((hidden? . #t)))
     (license (list license:asl2.0
                    license:expat))))
 
@@ -7460,8 +7477,7 @@ useful types and distributions, and some randomness-related algorithms.")
        #:cargo-inputs
        (("rust-fuchsia-zircon" ,rust-fuchsia-zircon-0.3)
         ("rust-libc" ,rust-libc-0.2)
-        ("rust-winapi" ,rust-winapi-0.3))))
-    (properties `())))
+        ("rust-winapi" ,rust-winapi-0.3))))))
 
 (define-public rust-rand-0.3
   (package
@@ -7480,8 +7496,7 @@ useful types and distributions, and some randomness-related algorithms.")
      `(#:skip-build? #t
        #:cargo-inputs
        (("rust-libc" ,rust-libc-0.2)
-        ("rust-rand" ,rust-rand-0.4))))
-    (properties `())))
+        ("rust-rand" ,rust-rand-0.4))))))
 
 (define-public rust-rand-chacha-0.2
   (package