[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#73106] [PATCH 09/10] gnu: Add rust-numpy-0.21.
From: |
Nicolas Graves |
Subject: |
[bug#73106] [PATCH 09/10] gnu: Add rust-numpy-0.21. |
Date: |
Sat, 7 Sep 2024 18:56:15 +0200 |
* gnu/packages/crates-io.scm (rust-numpy-0.21): New variable.
Change-Id: Idae5915f3cefa47c16c4bf9a5679f55621e35da7
---
gnu/packages/crates-io.scm | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7a8f090fd9..ba5cb75d2c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -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")
--
2.45.2
- [bug#73106] [PATCH 00/10] Add python-tokenizers., Nicolas Graves, 2024/09/07
- [bug#73106] [PATCH 01/10] gnu: Add rust-esaxx-rs-0.1., Nicolas Graves, 2024/09/07
- [bug#73106] [PATCH 02/10] gnu: Add rust-spm-precompiled-0.1., Nicolas Graves, 2024/09/07
- [bug#73106] [PATCH 03/10] gnu: Add rust-macro-rules-attribute-proc-macro-0.2., Nicolas Graves, 2024/09/07
- [bug#73106] [PATCH 04/10] gnu: Add rust-macro-rules-attribute-0.2., Nicolas Graves, 2024/09/07
- [bug#73106] [PATCH 05/10] gnu: Add rust-hf-hub-0.3., Nicolas Graves, 2024/09/07
- [bug#73106] [PATCH 07/10] gnu: Add rust-monostate-0.1., Nicolas Graves, 2024/09/07
- [bug#73106] [PATCH 09/10] gnu: Add rust-numpy-0.21.,
Nicolas Graves <=
- [bug#73106] [PATCH 10/10] gnu: Add python-tokenizers., Nicolas Graves, 2024/09/07
- [bug#73106] [PATCH 06/10] gnu: Add rust-monostate-impl-0.1., Nicolas Graves, 2024/09/07
- [bug#73106] [PATCH 08/10] gnu: Add rust-tokenizers., Nicolas Graves, 2024/09/07