guix-commits
[Top][All Lists]
Advanced

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

280/371: gnu: Add rust-num-bigint-dig-0.8.


From: guix-commits
Subject: 280/371: gnu: Add rust-num-bigint-dig-0.8.
Date: Thu, 25 May 2023 10:48:41 -0400 (EDT)

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

commit d620a70fd01f83af41b7aa42982d95429a5f2615
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon May 22 17:01:52 2023 +0300

    gnu: Add rust-num-bigint-dig-0.8.
    
    * gnu/packages/crates-io.scm (rust-num-bigint-dig-0.8): New variable.
    (rust-num-bigint-dig-0.7): Inherit from rust-num-bigint-dig-0.8.
---
 gnu/packages/crates-io.scm | 46 +++++++++++++++++++++++++++++++++++++++-------
 1 file changed, 39 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 6f0d46a2c5..819aa905ab 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -40201,8 +40201,46 @@ more.")
        #:cargo-development-inputs
        (("rust-rand" ,rust-rand-0.4))))))
 
+(define-public rust-num-bigint-dig-0.8
+  (package
+    (name "rust-num-bigint-dig")
+    (version "0.8.2")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "num-bigint-dig" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "01b9lnqkjgwr1fv8jlw8w8y8pf70h2h9panq969r0pxw793ck693"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-arbitrary" ,rust-arbitrary-1)
+        ("rust-byteorder" ,rust-byteorder-1)
+        ("rust-lazy-static" ,rust-lazy-static-1)
+        ("rust-libm" ,rust-libm-0.2)
+        ("rust-num-integer" ,rust-num-integer-0.1)
+        ("rust-num-iter" ,rust-num-iter-0.1)
+        ("rust-num-traits" ,rust-num-traits-0.2)
+        ("rust-rand" ,rust-rand-0.8)
+        ("rust-serde" ,rust-serde-1)
+        ("rust-smallvec" ,rust-smallvec-1)
+        ("rust-zeroize" ,rust-zeroize-1))
+       #:cargo-development-inputs
+       (("rust-rand" ,rust-rand-0.8)
+        ("rust-rand-chacha" ,rust-rand-chacha-0.3)
+        ("rust-rand-isaac" ,rust-rand-isaac-0.3)
+        ("rust-rand-xorshift" ,rust-rand-xorshift-0.3)
+        ("rust-serde-test" ,rust-serde-test-1))))
+    (home-page "https://github.com/dignifiedquire/num-bigint";)
+    (synopsis "Big integer implementation for Rust")
+    (description "This package provides a big integer implementation for
+Rust.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-num-bigint-dig-0.7
   (package
+    (inherit rust-num-bigint-dig-0.8)
     (name "rust-num-bigint-dig")
     (version "0.7.0")
     (source
@@ -40212,7 +40250,6 @@ more.")
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
         (base32 "1004mmipvc7pvaf3kf13i1nqh3vxf789bj72d8wl51y185aywis5"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
        (("rust-autocfg" ,rust-autocfg-0.1)
@@ -40231,12 +40268,7 @@ more.")
         ("rust-rand-chacha" ,rust-rand-chacha-0.3)
         ("rust-rand-isaac" ,rust-rand-isaac-0.3)
         ("rust-rand-xorshift" ,rust-rand-xorshift-0.3)
-        ("rust-serde-test" ,rust-serde-test-1))))
-    (home-page "https://github.com/dignifiedquire/num-bigint";)
-    (synopsis "Big integer implementation for Rust")
-    (description "This package provides a big integer implementation for
-Rust.")
-    (license (list license:expat license:asl2.0))))
+        ("rust-serde-test" ,rust-serde-test-1))))))
 
 (define-public rust-num-complex-0.4
   (package



reply via email to

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