me
/
guix
Archived
1
0
Fork 0

gnu: rust-rug-1: Update to 1.18.0.

* gnu/packages/crates-io.scm (rust-rug-1): Update to 1.18.0.
[arguments]: Add cargo-test-flags.
[cargo-inputs]: Add rust-num-integer-0.1, rust-num-traits-0.2.

Change-Id: I28990aca30a5611d980a2b34755e95d7e36f6b58
master
Efraim Flashner 2024-06-21 14:44:25 +03:00
parent 035352c33d
commit f765bfca1c
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 16 additions and 12 deletions

View File

@ -63807,26 +63807,30 @@ backwards compatibility guarantees.")
(define-public rust-rug-1
(package
(name "rust-rug")
(version "1.14.0")
(version "1.18.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "rug" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1iw52gyw0hshymqa04g76m7qnrds5vkgc5s8svqx5nv1jz1wrdgm"))))
(base32 "1f81id6y3vljys0nvl9mimhm0kh8z0vxnrh2ki1x2838mddklcam"))))
(build-system cargo-build-system)
(arguments
`(#: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))))
`(#:cargo-test-flags
'("--release" "--lib" "--bins" "--tests")
#:cargo-inputs
(("rust-az" ,rust-az-1)
("rust-gmp-mpfr-sys" ,rust-gmp-mpfr-sys-1)
("rust-libc" ,rust-libc-0.2)
("rust-num-integer" ,rust-num-integer-0.1)
("rust-num-traits" ,rust-num-traits-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))))
(inputs
(list gmp mpc mpfr))
(home-page "https://gitlab.com/tspiteri/rug")