summary refs log tree commit diff
path: root/gnu/packages/crates-io.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-12-30 20:48:31 +0200
committerEfraim Flashner <efraim@flashner.co.il>2020-01-02 20:16:11 +0200
commit55e6486224de711a158ea3818f9f76e0839726f3 (patch)
tree6bc806dbb80a0f6f38566ded39ff071976e44fe4 /gnu/packages/crates-io.scm
parent77032bf7045abd6068d6ad2689fa1d1b9b0eb2b8 (diff)
downloadguix-55e6486224de711a158ea3818f9f76e0839726f3.tar.gz
gnu: rust-rand-core-0.4: Update package.
* gnu/packages/crates-io.scm (rust-rand-core-0.4)[inherit]: New field,
inherit from rust-rand-core-0.5.
[arguments]: Skip build, add #:cargo-inputs.
[properties]: Remove field.
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r--gnu/packages/crates-io.scm15
1 files changed, 6 insertions, 9 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5b1e27e905..44bdc96beb 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -2982,6 +2982,7 @@ useful types and distributions, and some randomness-related algorithms.")
 
 (define-public rust-rand-core-0.4
   (package
+    (inherit rust-rand-core-0.5)
     (name "rust-rand-core")
     (version "0.4.2")
     (source
@@ -2992,15 +2993,11 @@ useful types and distributions, and some randomness-related algorithms.")
         (sha256
          (base32
           "1p09ynysrq1vcdlmcqnapq4qakl2yd1ng3kxh3qscpx09k2a6cww"))))
-    (build-system cargo-build-system)
-    (home-page "https://crates.io/crates/rand_core")
-    (synopsis
-      "Core random number generator traits and tools for implementation.")
-    (description
-      "Core random number generator traits and tools for implementation.")
-    (properties '((hidden? . #t)))
-    (license (list license:asl2.0
-                   license:expat))))
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-serde" ,rust-serde-1.0)
+        ("rust-serde-derive" ,rust-serde-derive-1.0))))))
 
 (define-public rust-rand-core-0.3
   (package