gnu: Add rust-ndarray-npy-0.9.

* gnu/packages/crates-io.scm (rust-ndarray-npy-0.9): New variable.

Change-Id: I69bb42218e09a32250e8feeee0d6ca8e0a1a9845
This commit is contained in:
Ricardo Wurmus 2025-01-16 22:50:28 +01:00
parent 992a9a4380
commit 35d6da84d7
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -44588,6 +44588,34 @@ (define-public rust-ndarray-0.12
("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")