guix-commits
[Top][All Lists]
Advanced

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

17/299: gnu: rust-rand-core-0.4: Update package.


From: guix-commits
Subject: 17/299: gnu: rust-rand-core-0.4: Update package.
Date: Thu, 2 Jan 2020 13:19:03 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit 55e6486224de711a158ea3818f9f76e0839726f3
Author: Efraim Flashner <address@hidden>
Date:   Mon Dec 30 20:48:31 2019 +0200

    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.
---
 gnu/packages/crates-io.scm | 15 ++++++---------
 1 file changed, 6 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5b1e27e..44bdc96 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



reply via email to

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