guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

94/470: gnu: rust-rand-distr-0.4: Update to 0.4.3.


From: guix-commits
Subject: 94/470: gnu: rust-rand-distr-0.4: Update to 0.4.3.
Date: Thu, 16 Mar 2023 03:00:26 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit af3a88a91e3c2f01007000dd07b62c791c581234
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Jan 15 11:19:08 2023 +0200

    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.
---
 gnu/packages/crates-io.scm | 21 ++++++++-------------
 1 file changed, 8 insertions(+), 13 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 9052e73d3a..47225d69d6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -45411,30 +45411,25 @@ tools for implementation.")
 (define-public rust-rand-distr-0.4
   (package
     (name "rust-rand-distr")
-    (version "0.4.2")
+    (version "0.4.3")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "rand_distr" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "0brd2946xfapm2bmhmczfbwck041x7khsfhqxw1f24kxis7m8kcn"))
-       (modules '((guix build utils)))
-       (snippet
-        '(begin
-           (substitute* "Cargo.toml"
-             ;; The resolver feature is not supported by our versions of Cargo.
-             (("resolver = \"2\".*") ""))))))
+        (base32 "0cgfwg3z0pkqhrl0x90c77kx70r6g9z4m6fxq9v0h2ibr2dhpjrj"))))
     (build-system cargo-build-system)
     (arguments
      `(#: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-serde" ,rust-serde-1)
-        ("rust-special" ,rust-special-0.8))
+        ("rust-serde" ,rust-serde-1))
        #: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/";)
     (synopsis "Sampling from random number distributions")
     (description "This package provides tool for sampling from random number



reply via email to

[Prev in Thread] Current Thread [Next in Thread]