diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2025-01-16 22:50:28 +0100 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2025-01-20 21:38:01 +0100 |
commit | 44bb624497d333ab8aee67cc4e6a66ce8beb85e3 (patch) | |
tree | 26eb9e570abe4c1aa3fb768c3bf9985fb972785b | |
parent | 2d91350bd033d1804a8813978ea1c32e9d89105c (diff) |
gnu: Add rust-ndarray-npy-0.9.
* gnu/packages/crates-io.scm (rust-ndarray-npy-0.9): New variable.
Change-Id: I69bb42218e09a32250e8feeee0d6ca8e0a1a9845
-rw-r--r-- | gnu/packages/crates-io.scm | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 823912869a3..24b1d469df2 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -44588,6 +44588,34 @@ general elements and for numerics.") ("rust-quickcheck" ,rust-quickcheck-0.7) ("rust-rawpointer" ,rust-rawpointer-0.1)))))) +(define-public rust-ndarray-npy-0.9 + (package + (name "rust-ndarray-npy") + (version "0.9.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "ndarray-npy" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1abqnbfn9xhq5q5nli78yip3wh2zq4gi7dnrm50r3i38qj43fcbv")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-byteorder" ,rust-byteorder-1) + ("rust-ndarray" ,rust-ndarray-0.16) + ("rust-num-complex" ,rust-num-complex-0.4) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-py-literal" ,rust-py-literal-0.4) + ("rust-zip" ,rust-zip-2)))) + (home-page "https://github.com/jturner314/ndarray-npy") + (synopsis ".npy and .npz file format support for ndarray") + (description + "This package provides @file{.npy} and @file{.npz} file format support +for @code{ndarray}.") + (license (list license:expat license:asl2.0)))) + (define-public rust-ndk-0.9 (package (name "rust-ndk") |