guix-commits
[Top][All Lists]
Advanced

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

01/17: gnu: Add rust-rand-pcg-0.2.


From: guix-commits
Subject: 01/17: gnu: Add rust-rand-pcg-0.2.
Date: Mon, 20 Jan 2020 10:00:02 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit c060511f2fcdd380894e6e5557dad1e89f01a544
Author: John Soo <address@hidden>
AuthorDate: Tue Jan 14 09:30:42 2020 -0800

    gnu: Add rust-rand-pcg-0.2.
    
    * gnu/packages/crates-io.scm (rust-rand-pcg-0.2): New variable.
    (rust-rand-pcg-0.1): Inherit from rust-rand-pcg-0.2.
    
    Signed-off-by: Efraim Flashner <address@hidden>
---
 gnu/packages/crates-io.scm | 24 +++++++++++++++++++-----
 1 file changed, 19 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5f74ed3..3a0263d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -7950,10 +7950,10 @@ generator that uses the HC-128 algorithm.")
         ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)
         ("rust-winapi" ,rust-winapi-0.3))))))
 
-(define-public rust-rand-pcg-0.1
+(define-public rust-rand-pcg-0.2
   (package
     (name "rust-rand-pcg")
-    (version "0.1.2")
+    (version "0.2.1")
     (source
       (origin
         (method url-fetch)
@@ -7961,17 +7961,31 @@ generator that uses the HC-128 algorithm.")
         (file-name (string-append name "-" version ".crate"))
         (sha256
          (base32
-          "0i0bdla18a8x4jn1w0fxsbs3jg7ajllz6azmch1zw33r06dv1ydb"))))
+          "0ab4h6s6x3py833jk61lwadq83qd1c8bih2hgi6yps9rnv0x1aqn"))))
     (build-system cargo-build-system)
     (home-page "https://crates.io/crates/rand_pcg";)
     (synopsis
-      "Selected PCG random number generators")
+     "Selected PCG random number generators")
     (description
-      "Selected PCG random number generators")
+     "Implements a selection of PCG random number generators.")
     (properties '((hidden? . #t)))
     (license (list license:asl2.0
                    license:expat))))
 
+(define-public rust-rand-pcg-0.1
+  (package
+    (inherit rust-rand-pcg-0.2)
+    (name "rust-rand-pcg")
+    (version "0.1.2")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "rand_pcg" version))
+        (file-name (string-append name "-" version ".crate"))
+        (sha256
+         (base32
+          "0i0bdla18a8x4jn1w0fxsbs3jg7ajllz6azmch1zw33r06dv1ydb"))))))
+
 (define-public rust-rand-xorshift-0.2
   (package
     (name "rust-rand-xorshift")



reply via email to

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