mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-02 09:28:57 -05:00
gnu: rust-rand-distr-0.4: Update to 0.4.3.
* gnu/packages/crates-io.scm (rust-rand-distr-0.4): Update to 0.4.3. [source]: Remove snippet. [cargo-inputs]: Remove rust-average-0.13, rust-special-0.8. [cargo-development-inputs]: Add rust-average-0.13, rust-rand-0.8, rust-special-0.8.
This commit is contained in:
parent
9eead8fa06
commit
68855f41de
1 changed files with 8 additions and 13 deletions
|
@ -45513,30 +45513,25 @@ (define-public rust-rand-core-0.2
|
||||||
(define-public rust-rand-distr-0.4
|
(define-public rust-rand-distr-0.4
|
||||||
(package
|
(package
|
||||||
(name "rust-rand-distr")
|
(name "rust-rand-distr")
|
||||||
(version "0.4.2")
|
(version "0.4.3")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (crate-uri "rand_distr" version))
|
(uri (crate-uri "rand_distr" version))
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "0brd2946xfapm2bmhmczfbwck041x7khsfhqxw1f24kxis7m8kcn"))
|
(base32 "0cgfwg3z0pkqhrl0x90c77kx70r6g9z4m6fxq9v0h2ibr2dhpjrj"))))
|
||||||
(modules '((guix build utils)))
|
|
||||||
(snippet
|
|
||||||
'(begin
|
|
||||||
(substitute* "Cargo.toml"
|
|
||||||
;; The resolver feature is not supported by our versions of Cargo.
|
|
||||||
(("resolver = \"2\".*") ""))))))
|
|
||||||
(build-system cargo-build-system)
|
(build-system cargo-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:cargo-inputs
|
`(#:cargo-inputs
|
||||||
(("rust-average" ,rust-average-0.13)
|
(("rust-num-traits" ,rust-num-traits-0.2)
|
||||||
("rust-num-traits" ,rust-num-traits-0.2)
|
|
||||||
("rust-rand" ,rust-rand-0.8)
|
("rust-rand" ,rust-rand-0.8)
|
||||||
("rust-serde" ,rust-serde-1)
|
("rust-serde" ,rust-serde-1))
|
||||||
("rust-special" ,rust-special-0.8))
|
|
||||||
#:cargo-development-inputs
|
#:cargo-development-inputs
|
||||||
(("rust-rand-pcg" ,rust-rand-pcg-0.3))))
|
(("rust-average" ,rust-average-0.13)
|
||||||
|
("rust-rand" ,rust-rand-0.8)
|
||||||
|
("rust-rand-pcg" ,rust-rand-pcg-0.3)
|
||||||
|
("rust-special" ,rust-special-0.8))))
|
||||||
(home-page "https://rust-random.github.io/book/")
|
(home-page "https://rust-random.github.io/book/")
|
||||||
(synopsis "Sampling from random number distributions")
|
(synopsis "Sampling from random number distributions")
|
||||||
(description "This package provides tool for sampling from random number
|
(description "This package provides tool for sampling from random number
|
||||||
|
|
Loading…
Reference in a new issue