[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#53401] [PATCH 43/49] gnu: Add rust-rug 1.14.0.
From: |
Attila Lendvai |
Subject: |
[bug#53401] [PATCH 43/49] gnu: Add rust-rug 1.14.0. |
Date: |
Thu, 20 Jan 2022 22:50:39 +0100 |
---
gnu/packages/crates-io.scm | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f06c7c646c..e1325047a7 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -45542,6 +45542,43 @@ (define-public rust-rstest-0.10
table-based tests.")
(license (list license:expat license:asl2.0))))
+(define-public rust-rug-1
+ (package
+ (name "rust-rug")
+ (version "1.14.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rug" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1iw52gyw0hshymqa04g76m7qnrds5vkgc5s8svqx5nv1jz1wrdgm"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'set-shell-for-configure-script
+ (lambda _
+ (setenv "CONFIG_SHELL" (which "sh")))))
+ #:cargo-inputs
+ (("rust-az" ,rust-az-1)
+ ("rust-gmp-mpfr-sys" ,rust-gmp-mpfr-sys-1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-serde" ,rust-serde-1))
+ #:cargo-development-inputs
+ (("rust-bincode" ,rust-bincode-1)
+ ("rust-byteorder" ,rust-byteorder-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-serde-test" ,rust-serde-test-1))))
+ (native-inputs
+ (list bash-minimal m4))
+ (home-page "https://gitlab.com/tspiteri/rug")
+ (synopsis
+ "Arbitrary-precision integers, rational, floating-point and complex
numbers based
+on GMP, MPFR and MPC")
+ (description synopsis)
+ (license license:lgpl3+)))
+
(define-public rust-rpassword-5
(package
(name "rust-rpassword")
--
2.34.0
- [bug#53401] [PATCH 29/49] gnu: rust-trybuild: Update to 1.0.54., (continued)
- [bug#53401] [PATCH 29/49] gnu: rust-trybuild: Update to 1.0.54., Attila Lendvai, 2022/01/20
- [bug#53401] [PATCH 31/49] gnu: Add rust-parity-crypto 0.9.0., Attila Lendvai, 2022/01/20
- [bug#53401] [PATCH 38/49] gnu: Add rust-ethereum-types 0.4.2., Attila Lendvai, 2022/01/20
- [bug#53401] [PATCH 09/49] gnu: Add rust-password-hash 0.3 and 0.1.4., Attila Lendvai, 2022/01/20
- [bug#53401] [PATCH 33/49] gnu: Add rust-impl-codec 0.5.1., Attila Lendvai, 2022/01/20
- [bug#53401] [PATCH 41/49] gnu: Add rust-gmp-mpfr-sys 1.4.7., Attila Lendvai, 2022/01/20
- [bug#53401] [PATCH 25/49] gnu: Add rust-radium 0.6.2., Attila Lendvai, 2022/01/20
- [bug#53401] [PATCH 08/49] gnu: Add rust-base64ct-1 1.3.3., Attila Lendvai, 2022/01/20
- [bug#53401] [PATCH 46/49] gnu: Add rust-scale-info 1.0.0., Attila Lendvai, 2022/01/20
- [bug#53401] [PATCH 16/49] gnu: Add rust-darling 0.13.1., Attila Lendvai, 2022/01/20
- [bug#53401] [PATCH 43/49] gnu: Add rust-rug 1.14.0.,
Attila Lendvai <=
- [bug#53401] [PATCH 32/49] gnu: Add rust-parity-scale-codec 2.3.1., Attila Lendvai, 2022/01/20
- [bug#53401] [PATCH 27/49] gnu: Add rust-byte-slice-cast 1.2.0., Attila Lendvai, 2022/01/20
- [bug#53401] [PATCH 13/49] gnu: rust-fnv: Update to 1.0.7., Attila Lendvai, 2022/01/20
- [bug#53401] [PATCH 11/49] gnu: Add rust-salsa20 0.7.1., Attila Lendvai, 2022/01/20
- [bug#53401] [PATCH 17/49] gnu: Add rust-enumset 1.0.8., Attila Lendvai, 2022/01/20
- [bug#53401] [PATCH 06/49] gnu: rust-subtle: Update to 2.4.1., Attila Lendvai, 2022/01/20
- [bug#53401] [PATCH 39/49] gnu: Add rust-rlp 0.3.0., Attila Lendvai, 2022/01/20
- [bug#53401] [PATCH 34/49] gnu: Add rust-crunchy 0.1.6., Attila Lendvai, 2022/01/20
- [bug#53401] [PATCH 49/49] gnu: Add rust-ethbloom 0.5.3 and 0.11.1., Attila Lendvai, 2022/01/20
- [bug#53401] [PATCH 40/49] gnu: Add rust-integer-sqrt 0.1.5., Attila Lendvai, 2022/01/20