@@ -48734,6 +48734,41 @@ (define-public rust-number-prefix-0.3
giga, kibi.")
(license license:expat)))
+(define-public rust-numpy-0.21
+ (package
+ (name "rust-numpy")
+ (version "0.21.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "numpy" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1x1p5x7lwfc5nsccwj98sln5vx3g3n8sbgm5fmfmy5rpr8rhf5zc"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-half" ,rust-half-2)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-nalgebra" ,rust-nalgebra-0.32)
+ ("rust-ndarray" ,rust-ndarray-0.13)
+ ("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.21)
+ ("rust-rustc-hash" ,rust-rustc-hash-1))
+ #:cargo-development-inputs
+ (("rust-nalgebra" ,rust-nalgebra-0.32)
+ ("rust-pyo3" ,rust-pyo3-0.21))))
+ (native-inputs (list python-minimal
+ (@ (gnu packages python-xyz) python-numpy)))
+ (home-page "https://github.com/PyO3/rust-numpy")
+ (synopsis "Rust bindings for the NumPy C-API")
+ (description
+ "This package provides @code{PyO3-based} Rust bindings of the
+@code{NumPy} C-API.")
+ (license license:bsd-2)))
+
(define-public rust-numtoa-0.2
(package
(name "rust-numtoa")