From 36bd9121d670b6bfec19d6033d9d3e1bb3f3d884 Mon Sep 17 00:00:00 2001 From: "Paul A. Patience" Date: Sun, 27 Nov 2022 04:33:35 +0000 Subject: [PATCH] gnu: Add rust-csv-index-0.1. * gnu/packages/crates-io.scm (rust-csv-index-0.1): New variable. Signed-off-by: Christopher Baines --- gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 24c6207d8d..f0f40207b9 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -30,6 +30,7 @@ ;;; Copyright © 2022 Gabriel Arazas ;;; Copyright © 2022 ( ;;; Copyright © 2022 Greg Hogan +;;; Copyright © 2022 Paul A. Patience ;;; ;;; This file is part of GNU Guix. ;;; @@ -14539,6 +14540,29 @@ (define-public rust-csv-core-0.1 "Bare bones CSV parsing with no_std support.") (license (list license:unlicense license:expat)))) +(define-public rust-csv-index-0.1 + (package + (name "rust-csv-index") + (version "0.1.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "csv-index" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "01048y84y0bakqm0x4y1svjv6lzc753b9q598xp7xgcqrdgi6x7j")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-byteorder" ,rust-byteorder-1) + ("rust-csv" ,rust-csv-1)))) + (home-page "https://github.com/BurntSushi/rust-csv") + (synopsis "On-disk CSV indexing data structures") + (description + "A collection of data structures for indexing CSV data, with a focus on +data structures that can be easily serialized to and deserialized from disk.") + (license (list license:unlicense license:expat)))) + (define-public rust-cstr-core-0.2 (package (name "rust-cstr-core")