unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Wilko Meyer <w@wmeyer.eu>
To: 64875@debbugs.gnu.org
Cc: Wilko Meyer <w@wmeyer.eu>, mail@cbaines.net
Subject: [bug#64875] [PATCH v2 3/5] gnu: Add xsv.
Date: Sun, 15 Oct 2023 23:57:03 +0200	[thread overview]
Message-ID: <20231015215713.20824-3-w@wmeyer.eu> (raw)
In-Reply-To: <20231015215713.20824-1-w@wmeyer.eu>

* gnu/packages/crates-io.scm (xsv): New variable.
---
 gnu/packages/rust-apps.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm
index 2f41ca4849..f7d346d3de 100644
--- a/gnu/packages/rust-apps.scm
+++ b/gnu/packages/rust-apps.scm
@@ -2537,3 +2537,38 @@ (define-public htmlq
     (synopsis "Like jq, but for HTML")
     (description "Extract content from HTML files using CSS selectors.")
     (license license:expat)))
+
+(define-public xsv
+  (package
+    (name "xsv")
+    (version "0.13.0")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "xsv" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0pvzr7x5phlya6m5yikvy13vgbazshw0plysckz9zmf2ly5x4jl8"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-byteorder" ,rust-byteorder-1)
+                       ("rust-chan" ,rust-chan-0.1)
+                       ("rust-csv" ,rust-csv-1)
+                       ("rust-csv-index" ,rust-csv-index-0.1)
+                       ("rust-docopt" ,rust-docopt-1)
+                       ("rust-filetime" ,rust-filetime-0.1)
+                       ("rust-num-cpus" ,rust-num-cpus-1)
+                       ("rust-rand" ,rust-rand-0.4)
+                       ("rust-regex" ,rust-regex-1)
+                       ("rust-serde" ,rust-serde-1)
+                       ("rust-serde-derive" ,rust-serde-derive-1)
+                       ("rust-streaming-stats" ,rust-streaming-stats-0.2)
+                       ("rust-tabwriter" ,rust-tabwriter-1)
+                       ("rust-threadpool" ,rust-threadpool-1))
+       #:cargo-development-inputs (("rust-log" ,rust-log-0.4)
+                                   ("rust-quickcheck" ,rust-quickcheck-0.6))))
+    (home-page "https://github.com/BurntSushi/xsv")
+    (synopsis "High performance CSV command line toolkit")
+    (description
+     "This package provides a high performance CSV command line toolkit.")
+    (license (list license:unlicense license:expat))))
-- 
2.41.0





  parent reply	other threads:[~2023-10-15 21:59 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-26 15:49 [bug#64875] [PATCH 0/4] Adding xsv Wilko Meyer
2023-07-26 15:52 ` [bug#64875] [PATCH 1/4] gnu: Added rust-chan-0.1 Wilko Meyer
2023-07-26 15:52 ` [bug#64875] [PATCH 2/4] gnu: Added rust-filetime-0.1 variant Wilko Meyer
2023-07-26 15:52 ` [bug#64875] [PATCH 3/4] gnu: Added xsv Wilko Meyer
2023-07-26 15:52 ` [bug#64875] [PATCH 4/4] gnu: Added copyright information Wilko Meyer
2023-10-05 10:22 ` [bug#64875] [PATCH 0/4] Adding xsv Christopher Baines
2023-10-05 13:25   ` Wilko Meyer
2023-10-11 10:16     ` Christopher Baines
2023-10-05 14:04 ` [bug#64875] [PATCH] gnu: Add rust-csv-index Wilko Meyer
2023-10-15 21:57 ` [bug#64875] [PATCH v2 1/5] gnu: Add rust-filetime-0.1 variant Wilko Meyer
2023-10-15 21:57   ` [bug#64875] [PATCH v2 2/5] gnu: Add rust-chan-0.1 Wilko Meyer
2023-10-15 21:57   ` Wilko Meyer [this message]
2023-10-16  9:37     ` bug#64875: [PATCH v2 3/5] gnu: Add xsv Efraim Flashner
2023-10-15 21:57   ` [bug#64875] [PATCH v2 4/5] gnu: Add rust-csv-index Wilko Meyer
2023-10-15 21:57   ` [bug#64875] [PATCH v2 5/5] gnu: Add copyright header Wilko Meyer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20231015215713.20824-3-w@wmeyer.eu \
    --to=w@wmeyer.eu \
    --cc=64875@debbugs.gnu.org \
    --cc=mail@cbaines.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).