summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-10-23 09:58:56 +0300
committerEfraim Flashner <efraim@flashner.co.il>2019-10-23 10:43:58 +0300
commit1e956eb02bb6cce64d805ddee92fee4b567d64fb (patch)
treead742fe12dc785864e9bcb45411279f671605851 /gnu
parent9ad71c4aec2c0e3e9b24e1938d7a4e731bad98ab (diff)
downloadguix-1e956eb02bb6cce64d805ddee92fee4b567d64fb.tar.gz
gnu: Add rust-rand-pcg-0.1.
* gnu/packages/rust-cbindgen.scm (rust-rand-pcg-0.1): New hidden
variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/rust-cbindgen.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/rust-cbindgen.scm b/gnu/packages/rust-cbindgen.scm
index 208e5f39ba..d3c75eef9c 100644
--- a/gnu/packages/rust-cbindgen.scm
+++ b/gnu/packages/rust-cbindgen.scm
@@ -482,3 +482,25 @@ functionality.")
     (properties '((hidden? . #t)))
     (license (list license:asl2.0
                    license:expat))))
+
+(define rust-rand-pcg-0.1
+  (package
+    (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"))))
+    (build-system cargo-build-system)
+    (home-page "https://crates.io/crates/rand_pcg")
+    (synopsis
+      "Selected PCG random number generators")
+    (description
+      "Selected PCG random number generators")
+    (properties '((hidden? . #t)))
+    (license (list license:asl2.0
+                   license:expat))))