diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2020-12-20 12:56:51 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-01-03 22:06:34 +0100 |
commit | cb0c8d1209e2273b6890cdeea207a384bac571ce (patch) | |
tree | afc320fa7125e05f22f704f64cdb75cbb836b3d7 | |
parent | ed7959b7e4cfd0114270afeec3eb1622742ce4e2 (diff) | |
download | guix-cb0c8d1209e2273b6890cdeea207a384bac571ce.tar.gz guix-cb0c8d1209e2273b6890cdeea207a384bac571ce.zip |
gnu: Add rust-fastrand-1.
* gnu/packages/crates-io.scm (rust-fastrand-1): New variable.
-rw-r--r-- | gnu/packages/crates-io.scm | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 09080b4d2e..1371c9f72e 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -9560,6 +9560,29 @@ implement features such as look-around and backtracking, which are not supported in purely NFA-based implementations.") (license license:expat))) +(define-public rust-fastrand-1 + (package + (name "rust-fastrand") + (version "1.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "fastrand" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1qvz1i7g5mb2hcsaawrvxx88b8vwrsr85qr98ffmrkj5fh2sypya")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-instant" ,rust-instant-0.1)) + #:cargo-development-inputs + (("rust-rand" ,rust-rand-0.7)))) + (home-page "https://github.com/stjepang/fastrand") + (synopsis "Simple and fast random number generator") + (description + "This package provides a simple and fast random number generator.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-femme-2 (package (name "rust-femme") |