diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2024-03-16 21:59:58 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-07-19 00:42:06 +0300 |
commit | e4eede0ce4a2e4789cb790f5a4a5f7ce6875485a (patch) | |
tree | 6191fe0f1571397a7b25f928728107b61f15cbfc | |
parent | c645f4b3a199386d48741887685e84fe34baf285 (diff) | |
download | guix-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.scm | 26 |
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") |