summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorPaul A. Patience <paul@apatience.com>2022-11-27 04:33:35 +0000
committerChristopher Baines <mail@cbaines.net>2022-12-13 13:42:11 +0000
commit36bd9121d670b6bfec19d6033d9d3e1bb3f3d884 (patch)
tree746b3578a256465669620d46704e867ff36fa714 /gnu/packages
parent34cf5e06a9acd021d1233587e140759bba452b35 (diff)
downloadguix-36bd9121d670b6bfec19d6033d9d3e1bb3f3d884.tar.gz
gnu: Add rust-csv-index-0.1.
* gnu/packages/crates-io.scm (rust-csv-index-0.1): New variable.

Signed-off-by: Christopher Baines <mail@cbaines.net>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm24
1 files changed, 24 insertions, 0 deletions
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 <foo.dogsquared@gmail.com>
 ;;; Copyright © 2022 ( <paren@disroot.org>
 ;;; Copyright © 2022 Greg Hogan <code@greghogan.com>
+;;; Copyright © 2022 Paul A. Patience <paul@apatience.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -14539,6 +14540,29 @@ processors.")
      "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")