diff options
author | John Soo <jsoo1@asu.edu> | 2019-12-13 23:20:05 -0800 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-01-02 20:16:13 +0200 |
commit | 7f87d5b5cde8ca0a1915168cf154a9557bd40ed4 (patch) | |
tree | 4645d003ae984621482c3eb8f519356154091228 /gnu/packages | |
parent | d59e13641cdc4cddf82c31d22c23ed62ddee2c72 (diff) |
gnu: Add rust-num-complex-0.2.
* gnu/packages/crates-io.scm (rust-num-complex-0.2): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/crates-io.scm | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index bb15f89e33..4af6fca539 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -2469,6 +2469,36 @@ implementation (which is unstable / requires nightly).") (license (list license:asl2.0 license:expat)))) +(define-public rust-num-complex-0.2 + (package + (name "rust-num-complex") + (version "0.2.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "num-complex" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1z6zjdzx1g1hj4y132ddy83d3p3zvw06igbf59npxxrzzcqwzc7w")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-num-traits" ,rust-num-traits-0.2) + ("rust-rand" ,rust-rand-0.4) + ("rust-serde" ,rust-serde-1.0)) + #:cargo-development-inputs + (("rust-autocfg" ,rust-autocfg-0.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)))) + (define-public rust-num-cpus-1.10 (package (name "rust-num-cpus") |