guix-commits
[Top][All Lists]
Advanced

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

34/54: gnu: Add rust-num-bigint-0.4.


From: guix-commits
Subject: 34/54: gnu: Add rust-num-bigint-0.4.
Date: Wed, 16 Jun 2021 06:55:13 -0400 (EDT)

ngz pushed a commit to branch master
in repository guix.

commit 9b4ad2f44c1435508c010ac288c7e43e90b83c48
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Tue Jun 15 13:30:14 2021 +0200

    gnu: Add rust-num-bigint-0.4.
    
    * gnu/packages/crates-io.scm (rust-num-bigint-0.4): New variable.
    (rust-num-bigint-0.3): Inherit from above.
---
 gnu/packages/crates-io.scm | 35 +++++++++++++++++++++++++++++------
 1 file changed, 29 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 9ae5485..34a0bd9 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -28148,27 +28148,27 @@ including bigint, complex, rational, range iterators, 
generic integers, and more
         ("rust-num-rational" ,rust-num-rational-0.1)
         ("rust-num-traits" ,rust-num-traits-0.2))))))
 
-(define-public rust-num-bigint-0.3
+(define-public rust-num-bigint-0.4
   (package
     (name "rust-num-bigint")
-    (version "0.3.1")
+    (version "0.4.0")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "num-bigint" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "1gq7cpvmzk5jixzr26fbjfayiigzh4p4vyyzbb73yqz4g9s436jy"))))
+        (base32 "04k5xh7d0nxay4yfb02rj841y9g5jh45d320avi53ak221y083af"))))
     (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t
        #:cargo-inputs
-       (("rust-arbitrary" ,rust-arbitrary-0.4)
+       (("rust-arbitrary" ,rust-arbitrary-1)
         ("rust-autocfg" ,rust-autocfg-1)
         ("rust-num-integer" ,rust-num-integer-0.1)
         ("rust-num-traits" ,rust-num-traits-0.2)
-        ("rust-quickcheck" ,rust-quickcheck-0.9)
-        ("rust-rand" ,rust-rand-0.7)
+        ("rust-quickcheck" ,rust-quickcheck-1)
+        ("rust-rand" ,rust-rand-0.8)
         ("rust-serde" ,rust-serde-1))))
     (home-page "https://github.com/rust-num/num-bigint";)
     (synopsis "Big integer implementation for Rust")
@@ -28176,6 +28176,29 @@ including bigint, complex, rational, range iterators, 
generic integers, and more
      "This package provides a big integer implementation for Rust.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-num-bigint-0.3
+  (package
+    (inherit rust-num-bigint-0.4)
+    (name "rust-num-bigint")
+    (version "0.3.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "num-bigint" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1gq7cpvmzk5jixzr26fbjfayiigzh4p4vyyzbb73yqz4g9s436jy"))))
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-arbitrary" ,rust-arbitrary-0.4)
+        ("rust-autocfg" ,rust-autocfg-1)
+        ("rust-num-integer" ,rust-num-integer-0.1)
+        ("rust-num-traits" ,rust-num-traits-0.2)
+        ("rust-quickcheck" ,rust-quickcheck-0.9)
+        ("rust-rand" ,rust-rand-0.7)
+        ("rust-serde" ,rust-serde-1))))))
+
 (define-public rust-num-bigint-0.2
   (package
     (inherit rust-num-bigint-0.3)



reply via email to

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