unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#59625] [PATCH] gnu: Add rust-csv-index-0.1.
@ 2022-11-27  4:33 Paul A. Patience
  2022-12-13 13:45 ` bug#59625: " Christopher Baines
  0 siblings, 1 reply; 2+ messages in thread
From: Paul A. Patience @ 2022-11-27  4:33 UTC (permalink / raw)
  To: 59625; +Cc: Paul A. Patience

* gnu/packages/crates-io.scm (rust-csv-index-0.1): New variable.
---
 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 1118ebbc35..d47461d9e2 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -29,6 +29,7 @@
 ;;; Copyright © 2022 Evgenii Lepikhin <e.lepikhin@corp.mail.ru>
 ;;; Copyright © 2022 Gabriel Arazas <foo.dogsquared@gmail.com>
 ;;; Copyright © 2022 ( <paren@disroot.org>
+;;; Copyright © 2022 Paul A. Patience <paul@apatience.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -14371,6 +14372,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")
--
2.38.0






^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#59625: [PATCH] gnu: Add rust-csv-index-0.1.
  2022-11-27  4:33 [bug#59625] [PATCH] gnu: Add rust-csv-index-0.1 Paul A. Patience
@ 2022-12-13 13:45 ` Christopher Baines
  0 siblings, 0 replies; 2+ messages in thread
From: Christopher Baines @ 2022-12-13 13:45 UTC (permalink / raw)
  To: Paul A. Patience; +Cc: 59625-done, guix-patches

[-- Attachment #1: Type: text/plain, Size: 307 bytes --]


"Paul A. Patience" <paul@apatience.com> writes:

> * gnu/packages/crates-io.scm (rust-csv-index-0.1): New variable.
> ---
>  gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++
>  1 file changed, 24 insertions(+)

Thanks! I've pushed this to master as
36bd9121d670b6bfec19d6033d9d3e1bb3f3d884.

Chris

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 987 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-12-13 13:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-27  4:33 [bug#59625] [PATCH] gnu: Add rust-csv-index-0.1 Paul A. Patience
2022-12-13 13:45 ` bug#59625: " Christopher Baines

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).