mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
gnu: Add rust-num-complex-0.4.
* gnu/packages/crates-io.scm (rust-num-complex-0.4): New variable. (rust-num-complex-0.3): Inherit from above.
This commit is contained in:
parent
9b4ad2f44c
commit
267c64d2c3
1 changed files with 26 additions and 9 deletions
|
@ -28282,8 +28282,33 @@ (define-public rust-num-bigint-dig-0.6
|
|||
for Rust")
|
||||
(license (list license:expat license:asl2.0))))
|
||||
|
||||
(define-public rust-num-complex-0.4
|
||||
(package
|
||||
(name "rust-num-complex")
|
||||
(version "0.4.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "num-complex" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "11ahq51ibf7x30rsabgp3a29zw6d6bfilz53sj152z5vpdkkd1r6"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:skip-build? #t
|
||||
#:cargo-inputs
|
||||
(("rust-num-traits" ,rust-num-traits-0.2)
|
||||
("rust-rand" ,rust-rand-0.8)
|
||||
("rust-serde" ,rust-serde-1))))
|
||||
(home-page "https://github.com/rust-num/num-complex")
|
||||
(synopsis "Complex numbers implementation for Rust")
|
||||
(description
|
||||
"This crate provides complex numbers implementation for Rust.")
|
||||
(license (list license:expat license:asl2.0))))
|
||||
|
||||
(define-public rust-num-complex-0.3
|
||||
(package
|
||||
(inherit rust-num-complex-0.4)
|
||||
(name "rust-num-complex")
|
||||
(version "0.3.0")
|
||||
(source
|
||||
|
@ -28295,19 +28320,11 @@ (define-public rust-num-complex-0.3
|
|||
(sha256
|
||||
(base32
|
||||
"1dczd81f2xb092dhb0brbdbf19pyfn0v9xmkf6qm0w4pv1dx0nmh"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:cargo-inputs
|
||||
(("rust-num-traits" ,rust-num-traits-0.2)
|
||||
("rust-rand" ,rust-rand-0.7)
|
||||
("rust-serde" ,rust-serde-1))))
|
||||
(home-page
|
||||
"https://github.com/rust-num/num-complex")
|
||||
(synopsis
|
||||
"Complex numbers implementation for Rust")
|
||||
(description
|
||||
"Complex numbers implementation for Rust.")
|
||||
(license (list license:expat license:asl2.0))))
|
||||
("rust-serde" ,rust-serde-1))))))
|
||||
|
||||
(define-public rust-num-complex-0.2
|
||||
(package
|
||||
|
|
Loading…
Reference in a new issue