mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 06:18:07 -05:00
gnu: Add rust-rand.
* gnu/packages/crates-io.scm (rust-rand): New variable.
This commit is contained in:
parent
e15f55208f
commit
5ef82ec8ba
1 changed files with 26 additions and 0 deletions
|
@ -1514,6 +1514,32 @@ (define-public rust-quote
|
||||||
;; Dual licensed.
|
;; Dual licensed.
|
||||||
(license (list license:asl2.0 license:expat))))
|
(license (list license:asl2.0 license:expat))))
|
||||||
|
|
||||||
|
(define-public rust-rand
|
||||||
|
(package
|
||||||
|
(name "rust-rand")
|
||||||
|
(version "0.4.3")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (crate-uri "rand" version))
|
||||||
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"1gfgnqfj2pyh27dcb720jpawskllwnbvxh816ddyykv269xz8ml3"))))
|
||||||
|
(build-system cargo-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:cargo-inputs
|
||||||
|
(("rust-fuchsia-zircon" ,rust-fuchsia-zircon)
|
||||||
|
("rust-libc" ,rust-libc)
|
||||||
|
("rust-winapi" ,rust-winapi))))
|
||||||
|
(home-page "https://crates.io/crates/rand")
|
||||||
|
(synopsis "Random number generators and other randomness functionality")
|
||||||
|
(description
|
||||||
|
"Rand provides utilities to generate random numbers, to convert them to
|
||||||
|
useful types and distributions, and some randomness-related algorithms.")
|
||||||
|
(license (list license:asl2.0
|
||||||
|
license:expat))))
|
||||||
|
|
||||||
(define-public rust-rawpointer
|
(define-public rust-rawpointer
|
||||||
(package
|
(package
|
||||||
(name "rust-rawpointer")
|
(name "rust-rawpointer")
|
||||||
|
|
Loading…
Reference in a new issue