From c0865319a77cbbba17bc22beb002e601e80d0dd4 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sat, 16 Mar 2024 21:47:06 +0200 Subject: [PATCH] gnu: Add rust-sample-arrow2-0.17. * gnu/package/crates-io.scm (rust-sample-arrow2-0.17): New variable. Change-Id: I6d09ff0f7fa1e2a4c59bd831bed5c425238f6a4e --- gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index eb2c57f852..ced43d4556 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -60331,6 +60331,29 @@ (define-public rust-same-file-0.1 #:cargo-development-inputs (("rust-rand" ,rust-rand-0.3)))))) +(define-public rust-sample-arrow2-0.17 + (package + (name "rust-sample-arrow2") + (version "0.17.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "sample-arrow2" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0xw9mdhzb0wx26b4bq1d94ib179lmzc5kfsrhgp5gk75g84k0ash")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-arrow2" ,rust-arrow2-0.17) + ("rust-sample-std" ,rust-sample-std-0.2)) + #:cargo-development-inputs (("rust-lazy-static" ,rust-lazy-static-1) + ("rust-quickcheck" ,rust-quickcheck-1) + ("rust-sample-test" ,rust-sample-test-0.2)))) + (home-page "https://docs.rs/sample-arrow2") + (synopsis "Samplers for arrow2 for use with sample-test") + (description "Samplers for arrow2 for use with sample-test.") + (license license:asl2.0))) + (define-public rust-sample-std-0.2 (package (name "rust-sample-std")