summary refs log tree commit diff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2020-12-20 15:48:40 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-01-04 19:29:14 +0100
commitcf5fdbf3cfe1d0d442417a1e85b4fd4f4edb65b3 (patch)
tree570045abbbd49de1cb08dfc4c36bf1b7c55d61cc
parentfd9e53bf797dc34d79e0d6108dcfff62f3ec6be7 (diff)
downloadguix-cf5fdbf3cfe1d0d442417a1e85b4fd4f4edb65b3.tar.gz
gnu: Add rust-random-trait-0.1.
* gnu/packages/crates-io.scm (rust-random-trait-0.1): New variable.
-rw-r--r--gnu/packages/crates-io.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 724ee6870f..96819b6b77 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -24776,6 +24776,28 @@ random number generators.")
        #:cargo-development-inputs
        (("rust-rand" ,rust-rand-0.6))))))
 
+(define-public rust-random-trait-0.1
+  (package
+    (name "rust-random-trait")
+    (version "0.1.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "random-trait" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0iw4laa9i97x1m1mc72rx0km0j6pjdrb75b0c93fdaq45spqcc8d"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-doc-comment" ,rust-doc-comment-0.3))))
+    (home-page "https://crates.io/crates/random-trait")
+    (synopsis "Rust library for a random trait")
+    (description
+     "This package is a Rust library for a random trait meant to produce
+random generic types.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-raw-cpuid-8
   (package
     (name "rust-raw-cpuid")