mirror of
https://https.git.savannah.gnu.org/git/guix.git/
synced 2025-07-12 18:10:47 +02:00
gnu: Add rust-numpy-0.22.
* gnu/packages/crates-io.scm (rust-numpy-0.22): New variable. Change-Id: Iba01905cb4284671771c195f8777e4c8179683b2
This commit is contained in:
parent
6d5986d836
commit
e9bd4e7a45
1 changed files with 30 additions and 0 deletions
|
@ -48539,6 +48539,36 @@ giga, kibi.")
|
|||
giga, kibi.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public rust-numpy-0.22
|
||||
(package
|
||||
(name "rust-numpy")
|
||||
(version "0.22.1")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "numpy" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "0kpii5mvz4ag29qw4zrqzfmi3m2kmbg882kcxn2ls6m91ny2kfgd"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:skip-build? #t
|
||||
#:cargo-inputs (("rust-half" ,rust-half-2)
|
||||
("rust-libc" ,rust-libc-0.2)
|
||||
("rust-nalgebra" ,rust-nalgebra-0.32)
|
||||
("rust-ndarray" ,rust-ndarray-0.15)
|
||||
("rust-num-complex" ,rust-num-complex-0.2)
|
||||
("rust-num-integer" ,rust-num-integer-0.1)
|
||||
("rust-num-traits" ,rust-num-traits-0.2)
|
||||
("rust-pyo3" ,rust-pyo3-0.22)
|
||||
("rust-rustc-hash" ,rust-rustc-hash-1))))
|
||||
(home-page "https://github.com/PyO3/rust-numpy")
|
||||
(synopsis "PyO3-based Rust bindings of the NumPy C-API")
|
||||
(description
|
||||
"This package provides PyO3-based Rust bindings of the @code{NumPy}
|
||||
C-API.")
|
||||
(license license:bsd-2)))
|
||||
|
||||
(define-public rust-numtoa-0.2
|
||||
(package
|
||||
(name "rust-numtoa")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue