* [bug#64875] [PATCH 0/4] Adding xsv
@ 2023-07-26 15:49 Wilko Meyer
2023-07-26 15:52 ` [bug#64875] [PATCH 1/4] gnu: Added rust-chan-0.1 Wilko Meyer
` (6 more replies)
0 siblings, 7 replies; 15+ messages in thread
From: Wilko Meyer @ 2023-07-26 15:49 UTC (permalink / raw)
To: 64875; +Cc: Wilko Meyer, Efraim Flashner
Hi Guix,
I'd like to add xsv, which is a csv cli toolkit, to guix packages. It
has two dependencies, rust-chan-0.1 and rust-filetime-0.1, which I've
added in this patch series as well. As this is my first time adding
something to guix packages I tried to be as close to the guix manual as
possible, please let me know if there's still something missing/if
there's something I can do to further improve the quality of my patches.
Best Regards,
Wilko Meyer
Wilko Meyer (4):
gnu: Added rust-chan-0.1.
gnu: Added rust-filetime-0.1 variant.
gnu: Added xsv.
gnu: Added copyright information.
gnu/packages/crates-io.scm | 40 ++++++++++++++++++++++++++++++++++++++
gnu/packages/rust-apps.scm | 36 ++++++++++++++++++++++++++++++++++
2 files changed, 76 insertions(+)
base-commit: e05dcecd0df49a397aba49585a626cae16a6306c
--
2.41.0
^ permalink raw reply [flat|nested] 15+ messages in thread
* [bug#64875] [PATCH 1/4] gnu: Added rust-chan-0.1.
2023-07-26 15:49 [bug#64875] [PATCH 0/4] Adding xsv Wilko Meyer
@ 2023-07-26 15:52 ` Wilko Meyer
2023-07-26 15:52 ` [bug#64875] [PATCH 2/4] gnu: Added rust-filetime-0.1 variant Wilko Meyer
` (5 subsequent siblings)
6 siblings, 0 replies; 15+ messages in thread
From: Wilko Meyer @ 2023-07-26 15:52 UTC (permalink / raw)
To: 64875; +Cc: Wilko Meyer, Efraim Flashner
* added rust-chan-0.1 to crates-io.scm
---
gnu/packages/crates-io.scm | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f9574e2797..30afb82eb8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -10761,6 +10761,26 @@ (define-public rust-cfg-if-0.1
(("rust-compiler-builtins" ,rust-compiler-builtins-0.1)
("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1))))))
+(define-public rust-chan-0.1
+ (package
+ (name "rust-chan")
+ (version "0.1.23")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "chan" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1n0y992mqfk5zpxzvrv14g9qivacmd4fiv4j1nmgyrg0vaimcjfi"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-rand" ,rust-rand-0.3))))
+ (home-page "https://github.com/BurntSushi/chan")
+ (synopsis "DEPRECATED. Use crossbeam-channel instead")
+ (description "DEPRECATED. Use crossbeam-channel instead.")
+ (license (list license:unlicense license:expat))))
+
(define-public rust-chacha20-0.8
(package
(name "rust-chacha20")
--
2.41.0
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [bug#64875] [PATCH 2/4] gnu: Added rust-filetime-0.1 variant.
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 ` Wilko Meyer
2023-07-26 15:52 ` [bug#64875] [PATCH 3/4] gnu: Added xsv Wilko Meyer
` (4 subsequent siblings)
6 siblings, 0 replies; 15+ messages in thread
From: Wilko Meyer @ 2023-07-26 15:52 UTC (permalink / raw)
To: 64875; +Cc: Wilko Meyer, Efraim Flashner
* added rust-filetime-0.1 variant inheriting from v0.2
---
gnu/packages/crates-io.scm | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 30afb82eb8..dae443e949 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -22350,6 +22350,25 @@ (define-public rust-filetime-0.2
(license (list license:asl2.0
license:expat))))
+(define-public rust-filetime-0.1
+ (package
+ (inherit rust-filetime-0.2)
+ (name "rust-filetime")
+ (version "0.1.15")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "filetime" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "03xishfxzpr4nfz4g3r218d6b6g94rxsqw9pw96m6wa8wgrm6iki"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-0.1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-redox-syscall" ,rust-redox-syscall-0.1))))))
+
(define-public rust-field-offset-0.3
(package
(name "rust-field-offset")
--
2.41.0
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [bug#64875] [PATCH 3/4] gnu: Added xsv.
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 ` Wilko Meyer
2023-07-26 15:52 ` [bug#64875] [PATCH 4/4] gnu: Added copyright information Wilko Meyer
` (3 subsequent siblings)
6 siblings, 0 replies; 15+ messages in thread
From: Wilko Meyer @ 2023-07-26 15:52 UTC (permalink / raw)
To: 64875; +Cc: Wilko Meyer, Efraim Flashner
* added xsv to rust-apps.scm
---
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 8c29969712..2762d6186a 100644
--- a/gnu/packages/rust-apps.scm
+++ b/gnu/packages/rust-apps.scm
@@ -2362,3 +2362,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
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [bug#64875] [PATCH 4/4] gnu: Added copyright information.
2023-07-26 15:49 [bug#64875] [PATCH 0/4] Adding xsv Wilko Meyer
` (2 preceding siblings ...)
2023-07-26 15:52 ` [bug#64875] [PATCH 3/4] gnu: Added xsv Wilko Meyer
@ 2023-07-26 15:52 ` Wilko Meyer
2023-10-05 10:22 ` [bug#64875] [PATCH 0/4] Adding xsv Christopher Baines
` (2 subsequent siblings)
6 siblings, 0 replies; 15+ messages in thread
From: Wilko Meyer @ 2023-07-26 15:52 UTC (permalink / raw)
To: 64875; +Cc: Wilko Meyer, Efraim Flashner
* added copyright information to rust-apps.scm
* added copyright information to crates-io.scm
---
gnu/packages/crates-io.scm | 1 +
gnu/packages/rust-apps.scm | 1 +
2 files changed, 2 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index dae443e949..6a46bd5f3d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -31,6 +31,7 @@
;;; Copyright © 2022 Greg Hogan <code@greghogan.com>
;;; Copyright © 2022 Paul A. Patience <paul@apatience.com>
;;; Copyright © 2022 Paul Alesius <paul@unnservice.com>
+;;; Copyright © 2023 Wilko Meyer <w@wmeyer.eu>
;;;
;;; This file is part of GNU Guix.
;;;
diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm
index 2762d6186a..bf14e1290e 100644
--- a/gnu/packages/rust-apps.scm
+++ b/gnu/packages/rust-apps.scm
@@ -23,6 +23,7 @@
;;; Copyright © 2022 ( <paren@disroot.org>
;;; Copyright © 2022 John Kehayias <john.kehayias@protonmail.com>
;;; Copyright © 2022 Greg Hogan <code@greghogan.com>
+;;; Copyright © 2023 Wilko Meyer <w@wmeyer.eu>
;;;
;;; This file is part of GNU Guix.
;;;
--
2.41.0
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [bug#64875] [PATCH 0/4] Adding xsv
2023-07-26 15:49 [bug#64875] [PATCH 0/4] Adding xsv Wilko Meyer
` (3 preceding siblings ...)
2023-07-26 15:52 ` [bug#64875] [PATCH 4/4] gnu: Added copyright information Wilko Meyer
@ 2023-10-05 10:22 ` Christopher Baines
2023-10-05 13:25 ` Wilko Meyer
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
6 siblings, 1 reply; 15+ messages in thread
From: Christopher Baines @ 2023-10-05 10:22 UTC (permalink / raw)
To: Wilko Meyer; +Cc: 64875, efraim
[-- Attachment #1: Type: text/plain, Size: 1107 bytes --]
Wilko Meyer <w@wmeyer.eu> writes:
> I'd like to add xsv, which is a csv cli toolkit, to guix packages. It
> has two dependencies, rust-chan-0.1 and rust-filetime-0.1, which I've
> added in this patch series as well. As this is my first time adding
> something to guix packages I tried to be as close to the guix manual as
> possible, please let me know if there's still something missing/if
> there's something I can do to further improve the quality of my patches.
>
> Best Regards,
>
> Wilko Meyer
>
> Wilko Meyer (4):
> gnu: Added rust-chan-0.1.
> gnu: Added rust-filetime-0.1 variant.
> gnu: Added xsv.
> gnu: Added copyright information.
>
> gnu/packages/crates-io.scm | 40 ++++++++++++++++++++++++++++++++++++++
> gnu/packages/rust-apps.scm | 36 ++++++++++++++++++++++++++++++++++
> 2 files changed, 76 insertions(+)
>
>
> base-commit: e05dcecd0df49a397aba49585a626cae16a6306c
Hi Wilko,
Thanks for sending these patches. I think there's an issue with xsv as
one of the inputs (rust-csv-index) doesn't seem to exist.
Do these new packages build for you on your system?
Thanks,
Chris
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 987 bytes --]
^ permalink raw reply [flat|nested] 15+ messages in thread
* [bug#64875] [PATCH 0/4] Adding xsv
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
0 siblings, 1 reply; 15+ messages in thread
From: Wilko Meyer @ 2023-10-05 13:25 UTC (permalink / raw)
To: Christopher Baines; +Cc: w, efraim, 64875
Hi Chris,
Thanks for reviewing my patch series!
Christopher Baines <mail@cbaines.net> writes:
> Thanks for sending these patches. I think there's an issue with xsv as
> one of the inputs (rust-csv-index) doesn't seem to exist.
You're right, I forgot to include rust-csv-index in this patch series,
but already had it locally, which is why I was able to build xsv without
noticing it. I'll include a patch to add rust-csv-index in a minute.
Others than that, and with rust-csv-index included, it should build (at
least it does so for me locally)/work fine:
wilko@guix230 ~/devel/guix [env]$ xsv --version
0.13.0
--
Kind regards,
Wilko Meyer
w@wmeyer.eu
^ permalink raw reply [flat|nested] 15+ messages in thread
* [bug#64875] [PATCH] gnu: Add rust-csv-index.
2023-07-26 15:49 [bug#64875] [PATCH 0/4] Adding xsv Wilko Meyer
` (4 preceding siblings ...)
2023-10-05 10:22 ` [bug#64875] [PATCH 0/4] Adding xsv Christopher Baines
@ 2023-10-05 14:04 ` Wilko Meyer
2023-10-15 21:57 ` [bug#64875] [PATCH v2 1/5] gnu: Add rust-filetime-0.1 variant Wilko Meyer
6 siblings, 0 replies; 15+ messages in thread
From: Wilko Meyer @ 2023-10-05 14:04 UTC (permalink / raw)
To: 64875; +Cc: Wilko Meyer, mail, Efraim Flashner
* gnu/packages/crates-io.scm (rust-csv-index-0.1): New variable.
---
gnu/packages/crates-io.scm | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 36f1e93f1d..b25a7fec46 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -17124,6 +17124,26 @@ (define-public rust-cssparser-macros-0.3
("rust-quote" ,rust-quote-1)
("rust-syn" ,rust-syn-1))))))
+(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 "On disk CSV indexing data structures.")
+ (license (list license:unlicense license:expat))))
+
(define-public rust-csv-1
(package
(name "rust-csv")
base-commit: ad5e4fe54a66c725dc03dedebf8e5c65723ccb74
prerequisite-patch-id: 5bde835de1e0f7e9cd752986da0585463713d745
prerequisite-patch-id: cda50d13de497f5c74c87b2def4ae6a7d5807305
prerequisite-patch-id: 7024afc52961b5947429f925c55265f29607c801
prerequisite-patch-id: 10a4f92340880065a5210c983cc878c98c075855
--
2.41.0
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [bug#64875] [PATCH 0/4] Adding xsv
2023-10-05 13:25 ` Wilko Meyer
@ 2023-10-11 10:16 ` Christopher Baines
0 siblings, 0 replies; 15+ messages in thread
From: Christopher Baines @ 2023-10-11 10:16 UTC (permalink / raw)
To: Wilko Meyer; +Cc: 64875, efraim
[-- Attachment #1: Type: text/plain, Size: 855 bytes --]
Wilko Meyer <w@wmeyer.eu> writes:
> Thanks for reviewing my patch series!
>
> Christopher Baines <mail@cbaines.net> writes:
>
>> Thanks for sending these patches. I think there's an issue with xsv as
>> one of the inputs (rust-csv-index) doesn't seem to exist.
>
> You're right, I forgot to include rust-csv-index in this patch series,
> but already had it locally, which is why I was able to build xsv without
> noticing it. I'll include a patch to add rust-csv-index in a minute.
I see the new patch now.
The other simple thing I notice is that the commit messages should be in
the present tense (so Add rather than Added). Would you be able to fix
that and then resend the entire series? It's always useful to send all
the patches again when you make changes, as that simplifies the job for
anyone trying to get the latest patches.
Thanks,
Chris
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 987 bytes --]
^ permalink raw reply [flat|nested] 15+ messages in thread
* [bug#64875] [PATCH v2 1/5] gnu: Add rust-filetime-0.1 variant.
2023-07-26 15:49 [bug#64875] [PATCH 0/4] Adding xsv Wilko Meyer
` (5 preceding siblings ...)
2023-10-05 14:04 ` [bug#64875] [PATCH] gnu: Add rust-csv-index Wilko Meyer
@ 2023-10-15 21:57 ` Wilko Meyer
2023-10-15 21:57 ` [bug#64875] [PATCH v2 2/5] gnu: Add rust-chan-0.1 Wilko Meyer
` (3 more replies)
6 siblings, 4 replies; 15+ messages in thread
From: Wilko Meyer @ 2023-10-15 21:57 UTC (permalink / raw)
To: 64875; +Cc: Wilko Meyer, mail
* gnu/packages/crates-io.scm (rust-filetime-0.1): New variable.
---
gnu/packages/crates-io.scm | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 80fb92ec82..7a06d877e2 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -24389,6 +24389,25 @@ (define-public rust-filetime-0.2
(license (list license:asl2.0
license:expat))))
+(define-public rust-filetime-0.1
+ (package
+ (inherit rust-filetime-0.2)
+ (name "rust-filetime")
+ (version "0.1.15")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "filetime" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "03xishfxzpr4nfz4g3r218d6b6g94rxsqw9pw96m6wa8wgrm6iki"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-0.1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-redox-syscall" ,rust-redox-syscall-0.1))))))
+
(define-public rust-field-offset-0.3
(package
(name "rust-field-offset")
--
2.41.0
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [bug#64875] [PATCH v2 2/5] gnu: Add rust-chan-0.1.
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 ` Wilko Meyer
2023-10-15 21:57 ` [bug#64875] [PATCH v2 3/5] gnu: Add xsv Wilko Meyer
` (2 subsequent siblings)
3 siblings, 0 replies; 15+ messages in thread
From: Wilko Meyer @ 2023-10-15 21:57 UTC (permalink / raw)
To: 64875; +Cc: Wilko Meyer, mail
* gnu/packages/crates-io.scm (rust-chan-0.1): New variable.
---
gnu/packages/crates-io.scm | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7a06d877e2..2fa2cfe695 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -11424,6 +11424,26 @@ (define-public rust-cfg-if-0.1
(("rust-compiler-builtins" ,rust-compiler-builtins-0.1)
("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1))))))
+(define-public rust-chan-0.1
+ (package
+ (name "rust-chan")
+ (version "0.1.23")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "chan" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1n0y992mqfk5zpxzvrv14g9qivacmd4fiv4j1nmgyrg0vaimcjfi"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-rand" ,rust-rand-0.3))))
+ (home-page "https://github.com/BurntSushi/chan")
+ (synopsis "DEPRECATED. Use crossbeam-channel instead")
+ (description "DEPRECATED. Use crossbeam-channel instead.")
+ (license (list license:unlicense license:expat))))
+
(define-public rust-chacha20-0.8
(package
(name "rust-chacha20")
--
2.41.0
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [bug#64875] [PATCH v2 3/5] gnu: Add xsv.
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
2023-10-16 9:37 ` bug#64875: " 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
3 siblings, 1 reply; 15+ messages in thread
From: Wilko Meyer @ 2023-10-15 21:57 UTC (permalink / raw)
To: 64875; +Cc: Wilko Meyer, mail
* 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
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [bug#64875] [PATCH v2 4/5] gnu: Add rust-csv-index.
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 ` [bug#64875] [PATCH v2 3/5] gnu: Add xsv Wilko Meyer
@ 2023-10-15 21:57 ` Wilko Meyer
2023-10-15 21:57 ` [bug#64875] [PATCH v2 5/5] gnu: Add copyright header Wilko Meyer
3 siblings, 0 replies; 15+ messages in thread
From: Wilko Meyer @ 2023-10-15 21:57 UTC (permalink / raw)
To: 64875; +Cc: Wilko Meyer, mail
* gnu/packages/crates-io.scm (rust-csv-index-0.1): New variable.
---
gnu/packages/crates-io.scm | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2fa2cfe695..d2d1b44e90 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -17159,6 +17159,26 @@ (define-public rust-cssparser-macros-0.3
("rust-quote" ,rust-quote-1)
("rust-syn" ,rust-syn-1))))))
+(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 "On disk CSV indexing data structures.")
+ (license (list license:unlicense license:expat))))
+
(define-public rust-csv-1
(package
(name "rust-csv")
--
2.41.0
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [bug#64875] [PATCH v2 5/5] gnu: Add copyright header.
2023-10-15 21:57 ` [bug#64875] [PATCH v2 1/5] gnu: Add rust-filetime-0.1 variant Wilko Meyer
` (2 preceding siblings ...)
2023-10-15 21:57 ` [bug#64875] [PATCH v2 4/5] gnu: Add rust-csv-index Wilko Meyer
@ 2023-10-15 21:57 ` Wilko Meyer
3 siblings, 0 replies; 15+ messages in thread
From: Wilko Meyer @ 2023-10-15 21:57 UTC (permalink / raw)
To: 64875; +Cc: Wilko Meyer, mail
* gnu/packages/crates-io.scm: Add copyright header.
* gnu/packages/rust-apps.scm: Add copyright header.
---
gnu/packages/crates-io.scm | 1 +
gnu/packages/rust-apps.scm | 1 +
2 files changed, 2 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d2d1b44e90..4758a240fa 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -32,6 +32,7 @@
;;; Copyright © 2022 Paul A. Patience <paul@apatience.com>
;;; Copyright © 2022 Paul Alesius <paul@unnservice.com>
;;; Copyright © 2023 Arnav Andrew Jose <arnav.jose@gmail.com>
+;;; Copyright © 2023 Wilko Meyer <w@wmeyer.eu>
;;;
;;; This file is part of GNU Guix.
;;;
diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm
index f7d346d3de..d5bbbd05fe 100644
--- a/gnu/packages/rust-apps.scm
+++ b/gnu/packages/rust-apps.scm
@@ -24,6 +24,7 @@
;;; Copyright © 2022 John Kehayias <john.kehayias@protonmail.com>
;;; Copyright © 2022 Greg Hogan <code@greghogan.com>
;;; Copyright © 2023 Arnav Andrew Jose <arnav.jose@gmail.com>
+;;; Copyright © 2023 Wilko Meyer <w@wmeyer.eu>
;;;
;;; This file is part of GNU Guix.
;;;
--
2.41.0
^ permalink raw reply related [flat|nested] 15+ messages in thread
* bug#64875: [PATCH v2 3/5] gnu: Add xsv.
2023-10-15 21:57 ` [bug#64875] [PATCH v2 3/5] gnu: Add xsv Wilko Meyer
@ 2023-10-16 9:37 ` Efraim Flashner
0 siblings, 0 replies; 15+ messages in thread
From: Efraim Flashner @ 2023-10-16 9:37 UTC (permalink / raw)
To: Wilko Meyer; +Cc: 64875-done, mail
[-- Attachment #1: Type: text/plain, Size: 238 bytes --]
Thanks. Patches pushed.
--
Efraim Flashner <efraim@flashner.co.il> רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 15+ messages in thread
end of thread, other threads:[~2023-10-16 9:38 UTC | newest]
Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` [bug#64875] [PATCH v2 3/5] gnu: Add xsv Wilko Meyer
2023-10-16 9:37 ` bug#64875: " 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
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.