aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-03-16 21:59:58 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-07-19 00:42:06 +0300
commite4eede0ce4a2e4789cb790f5a4a5f7ce6875485a (patch)
tree6191fe0f1571397a7b25f928728107b61f15cbfc
parentc645f4b3a199386d48741887685e84fe34baf285 (diff)
downloadguix-e4eede0ce4a2e4789cb790f5a4a5f7ce6875485a.tar.gz
guix-e4eede0ce4a2e4789cb790f5a4a5f7ce6875485a.zip
gnu: Add rust-rand-regex-0.15.
* gnu/packages/crates-io.scm (rust-rand-regex-0.15): New variable. Change-Id: I1e4b8bdf69ab15cad834e0a4dc8cc20e63df4a66
-rw-r--r--gnu/packages/crates-io.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index eaecac1aba..d3c50319ef 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -55353,6 +55353,32 @@ generators.")
#:cargo-development-inputs
(("rust-bincode" ,rust-bincode-1))))))
+(define-public rust-rand-regex-0.15
+ (package
+ (name "rust-rand-regex")
+ (version "0.15.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rand_regex" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1gfgx78k1sf3y5z7hf3rn8qnplmvlm908y6ig4razvnrszi9yalb"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ; Tests segfault.
+ #:cargo-inputs (("rust-rand" ,rust-rand-0.8)
+ ("rust-regex-syntax" ,rust-regex-syntax-0.6))
+ #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3)
+ ("rust-rand" ,rust-rand-0.8)
+ ("rust-rand-distr" ,rust-rand-distr-0.4)
+ ("rust-rand-xorshift" ,rust-rand-xorshift-0.3)
+ ("rust-regex" ,rust-regex-1))))
+ (home-page "https://github.com/kennytm/rand_regex")
+ (synopsis "Generates random strings and byte strings matching a regex")
+ (description "Generates random strings and byte strings matching a regex.")
+ (license license:expat)))
+
(define-public rust-rand-xorshift-0.3
(package
(name "rust-rand-xorshift")