summaryrefslogtreecommitdiff
path: root/textproc/csview
diff options
context:
space:
mode:
authorpin <pin@pkgsrc.org>2021-05-12 12:24:41 +0000
committerpin <pin@pkgsrc.org>2021-05-12 12:24:41 +0000
commit2d71f8d50b9af8b53f7a818c527d46f4648e5c01 (patch)
tree5222f3a2a1cc1464e69a9628079e69e8f31794be /textproc/csview
parent9840dfdbbbe46308d7e513d87cb6c5775b048efe (diff)
downloadpkgsrc-2d71f8d50b9af8b53f7a818c527d46f4648e5c01.tar.gz
textproc/csview: import package
A high performance csv viewer with cjk/emoji support. Features: -Small and fast (see benchmarks below). -Correctly handles CJK characters and emoji. -Support different styles. -Support tsv and custom delimiters. -Able to generate markdown table (with --style markdown option).
Diffstat (limited to 'textproc/csview')
-rw-r--r--textproc/csview/DESCR8
-rw-r--r--textproc/csview/Makefile33
-rw-r--r--textproc/csview/PLIST2
-rw-r--r--textproc/csview/cargo-depends.mk59
-rw-r--r--textproc/csview/distinfo231
-rw-r--r--textproc/csview/patches/patch-Cargo.toml22
6 files changed, 355 insertions, 0 deletions
diff --git a/textproc/csview/DESCR b/textproc/csview/DESCR
new file mode 100644
index 00000000000..b2b0f29d59b
--- /dev/null
+++ b/textproc/csview/DESCR
@@ -0,0 +1,8 @@
+A high performance csv viewer with cjk/emoji support.
+
+Features:
+-Small and fast (see benchmarks below).
+-Correctly handles CJK characters and emoji.
+-Support different styles.
+-Support tsv and custom delimiters.
+-Able to generate markdown table (with --style markdown option).
diff --git a/textproc/csview/Makefile b/textproc/csview/Makefile
new file mode 100644
index 00000000000..42d3b64d102
--- /dev/null
+++ b/textproc/csview/Makefile
@@ -0,0 +1,33 @@
+# $NetBSD: Makefile,v 1.1 2021/05/12 12:24:41 pin Exp $
+
+DISTNAME= csview-0.3.8
+CATEGORIES= textproc
+MASTER_SITES= ${MASTER_SITE_GITHUB:=wfxr/}
+GITHUB_TAG= v${PKGVERSION_NOREV}
+
+MAINTAINER= pin@NetBSD.org
+HOMEPAGE= https://github.com/wfxr/csview/
+COMMENT= High performance csv viewer with cjk/emoji support
+LICENSE= apache-2.0
+
+.include "cargo-depends.mk"
+
+# Depends on an unpublished crate. Can't use cargo.mk to fetch it.
+PRETTYTABLE-RS_REV= 3239b51dbbb449e69cd599b83bfb152441209cc3
+DISTFILES= ${DEFAULT_DISTFILES}
+DISTFILES+= prettytable-rs-${PRETTYTABLE-RS_REV}.tar.gz
+SITES.prettytable-rs-${PRETTYTABLE-RS_REV}.tar.gz+= -${MASTER_SITE_GITHUB:=wfxr/}prettytable-rs/archive/${PRETTYTABLE-RS_REV}.tar.gz
+
+USE_LANGUAGES= c # Rust, but needs toolchain for linking
+USE_TOOLS+= pkg-config
+
+INSTALLATION_DIRS= bin
+
+post-extract:
+ mv ${WRKDIR}/prettytable-rs-* ${WRKSRC}
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/target/release/csview ${DESTDIR}${PREFIX}/bin
+
+.include "../../lang/rust/cargo.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/csview/PLIST b/textproc/csview/PLIST
new file mode 100644
index 00000000000..4c9b7d90d64
--- /dev/null
+++ b/textproc/csview/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2021/05/12 12:24:41 pin Exp $
+bin/csview
diff --git a/textproc/csview/cargo-depends.mk b/textproc/csview/cargo-depends.mk
new file mode 100644
index 00000000000..fa150625725
--- /dev/null
+++ b/textproc/csview/cargo-depends.mk
@@ -0,0 +1,59 @@
+# $NetBSD: cargo-depends.mk,v 1.1 2021/05/12 12:24:41 pin Exp $
+
+CARGO_CRATE_DEPENDS+= ansi_term-0.11.0
+CARGO_CRATE_DEPENDS+= anyhow-1.0.38
+CARGO_CRATE_DEPENDS+= arrayref-0.3.6
+CARGO_CRATE_DEPENDS+= arrayvec-0.5.2
+CARGO_CRATE_DEPENDS+= atty-0.2.14
+CARGO_CRATE_DEPENDS+= autocfg-1.0.1
+CARGO_CRATE_DEPENDS+= base64-0.13.0
+CARGO_CRATE_DEPENDS+= bitflags-1.2.1
+CARGO_CRATE_DEPENDS+= blake2b_simd-0.5.11
+CARGO_CRATE_DEPENDS+= bstr-0.2.15
+CARGO_CRATE_DEPENDS+= byteorder-1.4.3
+CARGO_CRATE_DEPENDS+= cfg-if-0.1.10
+CARGO_CRATE_DEPENDS+= cfg-if-1.0.0
+CARGO_CRATE_DEPENDS+= clap-2.33.3
+CARGO_CRATE_DEPENDS+= constant_time_eq-0.1.5
+CARGO_CRATE_DEPENDS+= crossbeam-utils-0.8.3
+CARGO_CRATE_DEPENDS+= csv-1.1.6
+CARGO_CRATE_DEPENDS+= csv-core-0.1.10
+CARGO_CRATE_DEPENDS+= dirs-2.0.2
+CARGO_CRATE_DEPENDS+= dirs-sys-0.3.5
+CARGO_CRATE_DEPENDS+= encode_unicode-0.3.6
+CARGO_CRATE_DEPENDS+= exitcode-1.1.2
+CARGO_CRATE_DEPENDS+= getrandom-0.1.16
+CARGO_CRATE_DEPENDS+= heck-0.3.2
+CARGO_CRATE_DEPENDS+= hermit-abi-0.1.18
+CARGO_CRATE_DEPENDS+= itoa-0.4.7
+CARGO_CRATE_DEPENDS+= lazy_static-1.4.0
+CARGO_CRATE_DEPENDS+= libc-0.2.88
+CARGO_CRATE_DEPENDS+= memchr-2.3.4
+# Workaround for unpublised version of prettytable-rs in the Makefile
+#CARGO_CRATE_DEPENDS+= prettytable-rs-0.8.0
+CARGO_CRATE_DEPENDS+= proc-macro-error-1.0.4
+CARGO_CRATE_DEPENDS+= proc-macro-error-attr-1.0.4
+CARGO_CRATE_DEPENDS+= proc-macro2-1.0.24
+CARGO_CRATE_DEPENDS+= quote-1.0.9
+CARGO_CRATE_DEPENDS+= redox_syscall-0.1.57
+CARGO_CRATE_DEPENDS+= redox_users-0.3.5
+CARGO_CRATE_DEPENDS+= regex-automata-0.1.9
+CARGO_CRATE_DEPENDS+= rust-argon2-0.8.3
+CARGO_CRATE_DEPENDS+= ryu-1.0.5
+CARGO_CRATE_DEPENDS+= serde-1.0.124
+CARGO_CRATE_DEPENDS+= strsim-0.8.0
+CARGO_CRATE_DEPENDS+= structopt-0.3.21
+CARGO_CRATE_DEPENDS+= structopt-derive-0.4.14
+CARGO_CRATE_DEPENDS+= syn-1.0.64
+CARGO_CRATE_DEPENDS+= term-0.6.1
+CARGO_CRATE_DEPENDS+= term_size-0.3.2
+CARGO_CRATE_DEPENDS+= textwrap-0.11.0
+CARGO_CRATE_DEPENDS+= unicode-segmentation-1.7.1
+CARGO_CRATE_DEPENDS+= unicode-width-0.1.8
+CARGO_CRATE_DEPENDS+= unicode-xid-0.2.1
+CARGO_CRATE_DEPENDS+= vec_map-0.8.2
+CARGO_CRATE_DEPENDS+= version_check-0.9.2
+CARGO_CRATE_DEPENDS+= wasi-0.9.0+wasi-snapshot-preview1
+CARGO_CRATE_DEPENDS+= winapi-0.3.9
+CARGO_CRATE_DEPENDS+= winapi-i686-pc-windows-gnu-0.4.0
+CARGO_CRATE_DEPENDS+= winapi-x86_64-pc-windows-gnu-0.4.0
diff --git a/textproc/csview/distinfo b/textproc/csview/distinfo
new file mode 100644
index 00000000000..e6ce761056f
--- /dev/null
+++ b/textproc/csview/distinfo
@@ -0,0 +1,231 @@
+$NetBSD: distinfo,v 1.1 2021/05/12 12:24:41 pin Exp $
+
+SHA1 (ansi_term-0.11.0.crate) = 0c6f984f171ee890100780e038def5db2a8b7ab8
+RMD160 (ansi_term-0.11.0.crate) = 0bc10d826fc7a658ac1026dac333cc54f26f7c5b
+SHA512 (ansi_term-0.11.0.crate) = a637466a380748f939b3af090b8c0333f35581925bc03f4dda9b3f95d338836403cf5487ae3af9ff68f8245a837f8ab061aabe57a126a6a2c20f2e972c77d1fa
+Size (ansi_term-0.11.0.crate) = 17087 bytes
+SHA1 (anyhow-1.0.38.crate) = 26cd4c8ff91acb91b8d64dc4cc2fe14913931e25
+RMD160 (anyhow-1.0.38.crate) = 32316dd2cee9e4475253fc3a3d4adcdd44990a61
+SHA512 (anyhow-1.0.38.crate) = 3f6229fd9d284053f348f8180f9b1f1c1f1b711b733ff9a331b2f16ad6dd0c46a38ec17c8c8257981209230ba769b7cce349b64bb7f6f8ea6150ab9d6e483b8c
+Size (anyhow-1.0.38.crate) = 30417 bytes
+SHA1 (arrayref-0.3.6.crate) = 8df43c1c48a2ad356007ccfa9a74de36ae7372bd
+RMD160 (arrayref-0.3.6.crate) = 9a96dcbe3c51042d75ec3173c2ee7a42c9eb3eb6
+SHA512 (arrayref-0.3.6.crate) = 368341d00706c1250ff081b0d99c36c9af694a62ff4f4d8c837234340295771ca49c5439b24b6e1a4f2c3c5821764e98881dcb22d793f83de632fd5cb457671f
+Size (arrayref-0.3.6.crate) = 10035 bytes
+SHA1 (arrayvec-0.5.2.crate) = f9decaa8e8874fccc235113dd0cc99bfa98dca4c
+RMD160 (arrayvec-0.5.2.crate) = 34bb5a8498a1fa8d61057e7a889ada8257d8922e
+SHA512 (arrayvec-0.5.2.crate) = 1896b5f64b4dbdcff8ad234bda4ea8129bcacf87839347304717e94ee9f369cf5f4371755e453ff7d72817edb8f7fdbc726d77cc4f28ed05148dc89c7714b004
+Size (arrayvec-0.5.2.crate) = 27838 bytes
+SHA1 (atty-0.2.14.crate) = 9b4bfe6daebdd3d13a8a605bf44f64d4e831e804
+RMD160 (atty-0.2.14.crate) = 63c38cbe0fc07a4533253427a164612b456094cf
+SHA512 (atty-0.2.14.crate) = d7b6c4b9a0f898d91ddbc41a5ee45bbf45d1d269508c8cc87ee3e3990500e41e0ec387afb1f3bc7db55bedac396dd86c6509f4bf9e5148d809c3802edcc5e1d9
+Size (atty-0.2.14.crate) = 5470 bytes
+SHA1 (autocfg-1.0.1.crate) = 32909de2e5ae5ba6c1730cdf0e361213e7e86e2d
+RMD160 (autocfg-1.0.1.crate) = 8122557dfbad780c74329228c0fb9fc4ff46bd63
+SHA512 (autocfg-1.0.1.crate) = 630b348acb98b012e97804e6325d03c89abc22f2157762c59144c04e6c733daf550bdc7f0fe0b9f3b50e15dae8c1c3c4bdfce3d805b02f0fc987311f5332419b
+Size (autocfg-1.0.1.crate) = 12908 bytes
+SHA1 (base64-0.13.0.crate) = 8bb0b0eeb548d8e148a23428283d4ef96b2f43e9
+RMD160 (base64-0.13.0.crate) = 6af91ee653298406693a8c001fc50341db772fd1
+SHA512 (base64-0.13.0.crate) = 991a72999839daa232f508c5b24e7d3225e8a26db8d1d0e747881b115af9e408b92374e163b31e0b0d324c1c2e57e8e38d66861b61eb0a1dba87bb5871940151
+Size (base64-0.13.0.crate) = 62070 bytes
+SHA1 (bitflags-1.2.1.crate) = b7d3a9b30a05e14231cb55271c6ffa45cc1279cd
+RMD160 (bitflags-1.2.1.crate) = 186b1893055eb415978ca547b0775aaa617a00fd
+SHA512 (bitflags-1.2.1.crate) = ad89b3798845e23737a620bba581c2ff1ff3e15bac12555c765e201d2c0b90ecea0cdbc5b5b1a3fa9858c385e8e041f8226f5acfae5bbbe9925643fff2bf3f0b
+Size (bitflags-1.2.1.crate) = 16745 bytes
+SHA1 (blake2b_simd-0.5.11.crate) = 36fcc9b2e8f835d59dc07b62254fe0c9aa9e196a
+RMD160 (blake2b_simd-0.5.11.crate) = 3e9927056214cd283dbb880b2c9e49c9fcf09578
+SHA512 (blake2b_simd-0.5.11.crate) = 4a7657db637869465637cb9a65cb82e7a119c554bd4d532aaf84f9cc77a494fda07d07db89c73e92e5bf4844bb1be53062fc61120e839e414e938e487e7f2257
+Size (blake2b_simd-0.5.11.crate) = 34096 bytes
+SHA1 (bstr-0.2.15.crate) = d45e6e82477cf06c9fe987c8cfe00ae1c5fa0347
+RMD160 (bstr-0.2.15.crate) = c4a14ea0bfb110fe725b5a0e8d5ca01d07659ad6
+SHA512 (bstr-0.2.15.crate) = 6e464ca1aec722a283759ff6978bab1769dfc8d61aa683f8e4c59bd69c7be2fe86c5470f4c54457871c6640e2d50b6b882747ec567098eb78e62f7cb07cb93a2
+Size (bstr-0.2.15.crate) = 344206 bytes
+SHA1 (byteorder-1.4.3.crate) = 4bd44f238bd0df5e03b3edc72d00069746a4e721
+RMD160 (byteorder-1.4.3.crate) = 301deda9219b540096975490a7e785195ff422cc
+SHA512 (byteorder-1.4.3.crate) = 8c8000eb8ecf40351c9ce36a3a8acd7a02f81786d1b11aab85adfeffa0f2267ed74df29b2ca5d1d38128484d1d3cad2b673aa0d0441dcd0620dfd3934bb888fa
+Size (byteorder-1.4.3.crate) = 22512 bytes
+SHA1 (cfg-if-0.1.10.crate) = 3bd865df56c1f9266444b96351a1c30ffa5d9d75
+RMD160 (cfg-if-0.1.10.crate) = 896cd2fb2bb15582a174cb08c5e5ace6cc0be1c8
+SHA512 (cfg-if-0.1.10.crate) = 9d22616bfb4a75770a828a0a3cddac6787297a5fdc53eb17e25811cc94de717f2de8bd66d53c5d65ba1c83d8892aefee5ae758cf56a1ef0a0c3120f70b244339
+Size (cfg-if-0.1.10.crate) = 7933 bytes
+SHA1 (cfg-if-1.0.0.crate) = 9b415d94b6c2a84ed31b909e354ba9ac89092174
+RMD160 (cfg-if-1.0.0.crate) = 72507b7a112aaebe5833ade3a7a24ea8c0c6b243
+SHA512 (cfg-if-1.0.0.crate) = 0fb16a8882fd30e86b62c5143b1cb18ab564e84e75bd1f28fd12f24ffdc4a42e0d2e012a99abb606c12efe3c11061ff5bf8e24ab053e550ae083f7d90f6576ff
+Size (cfg-if-1.0.0.crate) = 7934 bytes
+SHA1 (clap-2.33.3.crate) = a432f81828ef9948c7d3b7c4a467cda8ca60ea00
+RMD160 (clap-2.33.3.crate) = 58082599dc4f1d5b29825be7e0258f052f1069bd
+SHA512 (clap-2.33.3.crate) = 3eb0fd648e2e3f9e5ff69a5e6cf0d867304fe18523accd036f28a86de368e4774088a6936c108ccc045092c539fe7f7494ea96420ebf6b4bec16880cea84bedf
+Size (clap-2.33.3.crate) = 201925 bytes
+SHA1 (constant_time_eq-0.1.5.crate) = b78c648e4d18c38f238648b00c40700cdf20a983
+RMD160 (constant_time_eq-0.1.5.crate) = 03450d8ea022802bca7d5be01eee9620204ee8b1
+SHA512 (constant_time_eq-0.1.5.crate) = a4e0155a7ad72babcfd418d832d362b3fca7333aaaf36c246b00e948983837c3c93378b86e37c5fa7626fe137e3b6d77276ccc61624a7f4ab914605905a88a01
+Size (constant_time_eq-0.1.5.crate) = 4936 bytes
+SHA1 (crossbeam-utils-0.8.3.crate) = 4c414e015e24347b5a452277834c9d7b7e0097c2
+RMD160 (crossbeam-utils-0.8.3.crate) = 047a0e7e75e8ad9c9419f6f8adb620e2e2bbce8c
+SHA512 (crossbeam-utils-0.8.3.crate) = 2e89ceea586873e957a31b510f8e8cb0c6675def32ea6b9a9483166b47f69c1ad448a79d897796883b696bf77cb0fcb1d0ac28ee779146f6500ca9a54aa7b4fb
+Size (crossbeam-utils-0.8.3.crate) = 37268 bytes
+SHA1 (csv-1.1.6.crate) = cb53b45f7c1b7386ef1caf1a3dc07a87b2fc7092
+RMD160 (csv-1.1.6.crate) = 49279fcffdb713887d6d38390410aa206c495085
+SHA512 (csv-1.1.6.crate) = 81dd826f0ee85e7d335d844e9f9b4d2b66f7076c517d8050ee2e35721bfa4ecb8a906dcd9671b1c5381a968dcce0949202f1afe8eea535b6d215363d4f5be6fc
+Size (csv-1.1.6.crate) = 886999 bytes
+SHA1 (csv-core-0.1.10.crate) = a3bf938973888e55e396e21597a4585abb529cf9
+RMD160 (csv-core-0.1.10.crate) = 0b717e62178d7f78c2b129ab0b459bc12b998c6f
+SHA512 (csv-core-0.1.10.crate) = 2a269d050fbe5d9e0f5dcda2de1e84bfeb69538dde86040ad1ec7307a214eed813a1482acb5029a51f18126d384d5238355e021964e47811db971a0821bcc328
+Size (csv-core-0.1.10.crate) = 25668 bytes
+SHA1 (csview-0.3.8.tar.gz) = 62ec373114feb53dc84034c65121321e23a7be09
+RMD160 (csview-0.3.8.tar.gz) = 7e7395e6fcc2e9ca4aab5f8b51fe75bc6ae18e22
+SHA512 (csview-0.3.8.tar.gz) = c4e0316dffdea9453e09dad366f0b2281ee3f9357869b2b5f993c77eba3e78b7a29285bafd580a8f154ac7400097cf25471cf1ec3872ee8fc4e1ad8142cc9d63
+Size (csview-0.3.8.tar.gz) = 21719 bytes
+SHA1 (dirs-2.0.2.crate) = a7962dad71f11b1ca8a562a2c4319cc4f11d7834
+RMD160 (dirs-2.0.2.crate) = 97363f92416acbc6984e1be7a85a96ec893b9f54
+SHA512 (dirs-2.0.2.crate) = 34d6e5956c9db1dae965d33f13c64dde59d3e0e18cbdc56c02f7f31cac8e0034a80fbb561e0a73b8dbd145f85b46fc4e8a147b4c946b5816d8dda6caef185396
+Size (dirs-2.0.2.crate) = 11779 bytes
+SHA1 (dirs-sys-0.3.5.crate) = a558ed5221e9dfaa66b428da74f271f8b7ae01b0
+RMD160 (dirs-sys-0.3.5.crate) = b442ae85372b0042ddd0477e4207b7f4276fc478
+SHA512 (dirs-sys-0.3.5.crate) = ff7eb48943b61773dd2aa8dc10372186d613c225a2b39caf48966a1a5af087dd0177b8db80b1353a504af8aa1c8b4a0a849edf6c7e4389f6b753bfa3b7376833
+Size (dirs-sys-0.3.5.crate) = 10643 bytes
+SHA1 (encode_unicode-0.3.6.crate) = 3834c05cf210f836b6cd701d7b5e233a17731fc4
+RMD160 (encode_unicode-0.3.6.crate) = b90ae5b2377a4098cd69d29d7c580c92b9212b07
+SHA512 (encode_unicode-0.3.6.crate) = 64193d6ac75f66d58ed864169b5d6228ede36dcf100614395e086bc8e847a3ddd287734d88e8ed50f38c679a99c80ec68449175a67d8ee03b02ec1cfa9d55e77
+Size (encode_unicode-0.3.6.crate) = 45741 bytes
+SHA1 (exitcode-1.1.2.crate) = 26a12f28248cdf9735e59a93a1d2a25bacc2b20f
+RMD160 (exitcode-1.1.2.crate) = e99053b41a68ea605414bbcf2b270a41093f456d
+SHA512 (exitcode-1.1.2.crate) = fa31817e2bfdafe64faaaa6b32573e01e2ca0db24c6c88c81f43d84a9db66d19db842b61cbd89b8f6e199aad531a1dc0053b2d4166e0f9196f275fe715f28fc3
+Size (exitcode-1.1.2.crate) = 6538 bytes
+SHA1 (getrandom-0.1.16.crate) = ef6ee6ddbc3b1f40c8202a934d8cafb50d2233dc
+RMD160 (getrandom-0.1.16.crate) = 531b3a9da432114e08beb70828f6291f32cdd3e1
+SHA512 (getrandom-0.1.16.crate) = c5450c522c07c7a38b326f9a9062bac7d089630219d577ea4b55abad4e0c31d17b7cde385fc43912dfa100b42334e7a52422c55fda8b738caae428c6f9addb53
+Size (getrandom-0.1.16.crate) = 25077 bytes
+SHA1 (heck-0.3.2.crate) = ab13d5f5ccffe6106b8501c1303c0c36899eef6b
+RMD160 (heck-0.3.2.crate) = 3d0943b0100051d7b39cd3967242f2028fd70a36
+SHA512 (heck-0.3.2.crate) = cbc72c3473ab14fe445491b1d9586d50de9a462af344638b871f7309fa805069a1405bcb1e0859b561f48583fc71045f38d03b92332d35131c67e140ccd241ad
+Size (heck-0.3.2.crate) = 54718 bytes
+SHA1 (hermit-abi-0.1.18.crate) = ee6677332b5c19c10d8e19b8da73c3265a3efd6c
+RMD160 (hermit-abi-0.1.18.crate) = 3bccd7ee4d6d12fec60d64949db05811ed7e7fea
+SHA512 (hermit-abi-0.1.18.crate) = 54f060c6c1c80d41f40cec7102345147efb535aff9fa5cc0ed4ccd7f010bfdb6daaf40626fd5069af60ceb42058452803b59d4bbcfbed4c5546c79b57ae0f914
+Size (hermit-abi-0.1.18.crate) = 9936 bytes
+SHA1 (itoa-0.4.7.crate) = 0b8e146e117d6df08e455d318833da9fb0965b0e
+RMD160 (itoa-0.4.7.crate) = 4d13dd87e22a8146de46270262449f3f864f8392
+SHA512 (itoa-0.4.7.crate) = c61eb50aa00591af28698b45c528c36bd92088f7cd2f453cf686a1824f4656292638bebc468cf67f903473a5045f22777af623cc0515ef3bf25146b89a7c454f
+Size (itoa-0.4.7.crate) = 12099 bytes
+SHA1 (lazy_static-1.4.0.crate) = 3e8852a6967dc257753fe75a13112a04bc03dfc0
+RMD160 (lazy_static-1.4.0.crate) = 6c74661c140113ff3b1d660bba095259398bbb55
+SHA512 (lazy_static-1.4.0.crate) = e124c0521ec7c950f3c4a066821918da7a9c6e711115d98009ae7c351928fdddead852e7596fea5937a9c30e4e4ce8eee7099b20248b5d6e3b2494b6a6d88cb8
+Size (lazy_static-1.4.0.crate) = 10443 bytes
+SHA1 (libc-0.2.88.crate) = fbb72d03cdfea6004e0030f59fcbb9db8088857d
+RMD160 (libc-0.2.88.crate) = a7507b94507bdb880f9b6b132fcbe4d7e019b23a
+SHA512 (libc-0.2.88.crate) = c1ad5dd0efd8117da798fcff84082e3b831cb1ae04c26ca8d87936057155e2ca08f0a693cf2c79c5db2c2dbe6b64e254328439b303ba952559f4c524466ad243
+Size (libc-0.2.88.crate) = 514138 bytes
+SHA1 (memchr-2.3.4.crate) = 4eb4ea3572d3246dc6719835ee8ba36aec83e782
+RMD160 (memchr-2.3.4.crate) = c72bdb98f3f929c4958776a0cccb8369d8c307c8
+SHA512 (memchr-2.3.4.crate) = 24cde03e6f7cbee1c1d12dcc691190c7e3dc72f468cf41e2397560961d62685976fe47de51119c04c473cccf75b38311bd887fd9db93e92563aebac8f9184df6
+Size (memchr-2.3.4.crate) = 23077 bytes
+SHA1 (prettytable-rs-3239b51dbbb449e69cd599b83bfb152441209cc3.tar.gz) = 7185172dd7287ab3731e6bc4491020de5c11875b
+RMD160 (prettytable-rs-3239b51dbbb449e69cd599b83bfb152441209cc3.tar.gz) = cbc7c547e5662741a36ffc26ff843846dbbadc48
+SHA512 (prettytable-rs-3239b51dbbb449e69cd599b83bfb152441209cc3.tar.gz) = d6c6d2cd1b6c0a06377f4756976362f5624f14cd1a1c5c5bee65804de5ee3a3f7ed10adf3db4c55c27035c4f8fdccae7f7d86180eaa4fd279d321a8fbabd594a
+Size (prettytable-rs-3239b51dbbb449e69cd599b83bfb152441209cc3.tar.gz) = 98743 bytes
+SHA1 (proc-macro-error-1.0.4.crate) = 25576f8ab386b643e51d1a5d6cbde63e03ee6a82
+RMD160 (proc-macro-error-1.0.4.crate) = 88f49e8553a6925a451f22341e19a51805ab0154
+SHA512 (proc-macro-error-1.0.4.crate) = 8a47bc9d3e24e9561d1e384d8f5a633284c2cf9b5e6733c5f9d1dbfe1870ccc8e2152482852e50b551cecb68e009148585b910ffb0508a7b4875598eaf8657db
+Size (proc-macro-error-1.0.4.crate) = 25293 bytes
+SHA1 (proc-macro-error-attr-1.0.4.crate) = 7f94d5cf9d7f5902b411431da4f7da71af4f6af4
+RMD160 (proc-macro-error-attr-1.0.4.crate) = 548af52e429c599c215d5b5afe207d47750fae19
+SHA512 (proc-macro-error-attr-1.0.4.crate) = 2606afa9ec78d7dad4500c98d3a5ecbd02c6b53ab829c742bed7f57b322a95238ab4e01cf268746815f1424fd9b02eddfa30e72f98c66106f57765f3d3116495
+Size (proc-macro-error-attr-1.0.4.crate) = 7971 bytes
+SHA1 (proc-macro2-1.0.24.crate) = ae29ed2553b03e041040c6d70b4a2aeb67bd6b65
+RMD160 (proc-macro2-1.0.24.crate) = 4075a25889c31b5592210c4d70ce3d874d40df0a
+SHA512 (proc-macro2-1.0.24.crate) = c3d23a5136c55d734084ce1d76d54f237fc1003074af102c2ad96d851ac496ffc7513ddc505a68af4051c9d6de09725a0ecb6e76ebcdd77a1c056f8f9242c9be
+Size (proc-macro2-1.0.24.crate) = 37716 bytes
+SHA1 (quote-1.0.9.crate) = 7e27d33619123ef5f370d3ed0b59a6180249823d
+RMD160 (quote-1.0.9.crate) = fb5820ff3e8936a528b67af76d5380f92996840c
+SHA512 (quote-1.0.9.crate) = dd6cdaea183b85400531ef01e56657edbec0d8f7c27898c1e591b72dff755fa5875b33ca320bd65be0e9aecfc6a61ec119a4bd1291e9f2057fca642ab5b198c8
+Size (quote-1.0.9.crate) = 25042 bytes
+SHA1 (redox_syscall-0.1.57.crate) = 7b7b26dca5b32f54c0ecb5578dae3fffe2f76eab
+RMD160 (redox_syscall-0.1.57.crate) = 759f2cfa7e2a6b6402d35e565527727c7e134090
+SHA512 (redox_syscall-0.1.57.crate) = c6e187087060084b7173ed0d9d0e982e4259d4f76522112268c02ff20751382e3bc8e119da6153170f5c54bd5b9cb028910f2f85c1c842099205dccd44659184
+Size (redox_syscall-0.1.57.crate) = 17087 bytes
+SHA1 (redox_users-0.3.5.crate) = 1cf17d4b3090b26bc17410705032c78d2e979b7c
+RMD160 (redox_users-0.3.5.crate) = 763f1c590aafced621e498b8d7df7cc04e33df22
+SHA512 (redox_users-0.3.5.crate) = d90f1816205a4f2eca59397f6866e5cd965af652940f56930f8bfbe2b50eda75cf78b09200bb69416a35cbeead3cbd4de354805568be2feef1ae4d691b9a6a3c
+Size (redox_users-0.3.5.crate) = 12644 bytes
+SHA1 (regex-automata-0.1.9.crate) = 9dea531bfeb8b925a475e8997d99d1736389e8fe
+RMD160 (regex-automata-0.1.9.crate) = 85b291152efb982eb2937a30ad91106b1a79b8de
+SHA512 (regex-automata-0.1.9.crate) = 53323733dc2f8c47ec33b5b3aefacac3a0042cff80c59c3a05ee02b581671dd9a6ebf6b0b5eeddf9cd249662731cabf5a684553daeff440bf8d1d4d296afbeb0
+Size (regex-automata-0.1.9.crate) = 114560 bytes
+SHA1 (rust-argon2-0.8.3.crate) = 13e9a896c8af5baf5fd0ddf9363127dd24585449
+RMD160 (rust-argon2-0.8.3.crate) = 21db7c6761121763b0ec352e6e86e2155de44d17
+SHA512 (rust-argon2-0.8.3.crate) = f336dd3f90e1a49be107b641f9e9d513b6f8098dbdd1ab8aa2bd1fae329ce6840ad11a902b599922bef45d96ffb556d52b57d61218271bdccb7c85f9fe1da033
+Size (rust-argon2-0.8.3.crate) = 28313 bytes
+SHA1 (ryu-1.0.5.crate) = 20db65d59430e573f83d80b92efe5cb622615eb7
+RMD160 (ryu-1.0.5.crate) = 7fb7f2a90d303c0a20b0e28ead4220b510f09124
+SHA512 (ryu-1.0.5.crate) = d1708ffa3112a684edf2956b6730ead040401d38f1457cde074eaaa59c249007dc8b925629e7f6df89f7ea757e9d0826649d685cc8ede0a04d50296048bf476c
+Size (ryu-1.0.5.crate) = 49570 bytes
+SHA1 (serde-1.0.124.crate) = 901b2181952bb8c6c2a9c26e47a022bda3cae567
+RMD160 (serde-1.0.124.crate) = 32d3d93f3fac4fc836e95ed9f2db0d4c5a87aea6
+SHA512 (serde-1.0.124.crate) = 3106e446875b6a45f59f23d5619e62e6b97ba5462f38f768b68bd33a3679ee22f4821f460646133eb626a9e529b704e405388425ee2353a4027b48f7e36623ea
+Size (serde-1.0.124.crate) = 74508 bytes
+SHA1 (strsim-0.8.0.crate) = 9a09b5df624d5e5cc4f9ae9f6d45e49b27e18834
+RMD160 (strsim-0.8.0.crate) = 980ec0eecba085ca6419d089af3743e23b27cd16
+SHA512 (strsim-0.8.0.crate) = 1d55a8d946cd55f5f37d06aea536549ded95739fa58c0f2da285a0041154c181f663682bdcac643aa198b3e762d694a04f058db985c62ebe22b5c16327ba6d34
+Size (strsim-0.8.0.crate) = 9309 bytes
+SHA1 (structopt-0.3.21.crate) = 4c33e49d9465a9188fad581fa6643d39bce524cb
+RMD160 (structopt-0.3.21.crate) = 50b1ffa231b4520210e2f84fe0de2990cfba5a1f
+SHA512 (structopt-0.3.21.crate) = df8592f10456a5b1a7bc7b290357c069ce4eba14d2558ecd6face231e49c748a8892c31ffad000b426e8180d3e4dd607329db91f4b5617e971b2edda5bab42f1
+Size (structopt-0.3.21.crate) = 50761 bytes
+SHA1 (structopt-derive-0.4.14.crate) = a46c0bd42e6f77be47213bc5c629cf40cc3c81a9
+RMD160 (structopt-derive-0.4.14.crate) = 44b6bfd254430ef143b6bf2799729a5a512fb163
+SHA512 (structopt-derive-0.4.14.crate) = bc20dd9d10c6dc1f5975b074a63eb84b49385ad272b62d8526962e88b28cada3998c3944dedaf8560d6577871747b875cd399dfe06851472c0a1c81fced429a0
+Size (structopt-derive-0.4.14.crate) = 20116 bytes
+SHA1 (syn-1.0.64.crate) = b3feb5a8f5a81e53b52000b37dbf78cfc59905a3
+RMD160 (syn-1.0.64.crate) = bdbdd8d5ff44a429302459b8d1e95849060cc7bd
+SHA512 (syn-1.0.64.crate) = b43574c8d48743697bc46c17593347d0e98062b0086582f835281b6c52a8f3eac8cb59c212c77fee7f0a2be8525b5e0d8a807ff532a922f6dbd13ef7efc7fc22
+Size (syn-1.0.64.crate) = 231549 bytes
+SHA1 (term-0.6.1.crate) = ef77a2835707bf998150c37567527d947b908c89
+RMD160 (term-0.6.1.crate) = e18dc207f822e4896791be2b8a2306267691c085
+SHA512 (term-0.6.1.crate) = 5e684eedfe522da12914d579fddf1b04720086325ab18498e56b0cc709b0c8a022f887731a2bba9d0ddf200c756d12948835bccdff5bfb2b19af7d071051eacd
+Size (term-0.6.1.crate) = 37578 bytes
+SHA1 (term_size-0.3.2.crate) = b578819bdffa89f91a797b9f0e8075a9b259f1f3
+RMD160 (term_size-0.3.2.crate) = cb05bced29d30469a9ed9c28f24bf55e14fd7986
+SHA512 (term_size-0.3.2.crate) = 7e820ca667f841719e82cf97e90bd2546cdd7ecd4834c68f8eeadd2e530bb13ced1d058ea7beda5db77eabacfaef64b8c3699c482bd912ff570f6ab78149dc88
+Size (term_size-0.3.2.crate) = 10917 bytes
+SHA1 (textwrap-0.11.0.crate) = 75648d4aa5657ab34a4df9c34a3645431fd2739f
+RMD160 (textwrap-0.11.0.crate) = 3a9a334e7c0c6cbb9f54e51ad991304da31caf2c
+SHA512 (textwrap-0.11.0.crate) = f5c0fe4f28ff1a3a0931e8e235b5157a45f67967985bcc752418c5ec3481fca44a8ae4800088889b37e8cd0533f53d3c456d5ffd19b767b3f83a87b49a2e209a
+Size (textwrap-0.11.0.crate) = 17322 bytes
+SHA1 (unicode-segmentation-1.7.1.crate) = e3701f6a4ef99aa874f74c47756f7996af9033e7
+RMD160 (unicode-segmentation-1.7.1.crate) = 97569d1b0a24181809adccc3e515d894c36f8441
+SHA512 (unicode-segmentation-1.7.1.crate) = 183ca68d456a8d53e6f255129e8fd07b87d8da23b8f18187231d6fa70dac80e4069eb6c501d45155d9f0050b6bd713964e55f0e4b25a40546c4d245a17fc8dc6
+Size (unicode-segmentation-1.7.1.crate) = 93066 bytes
+SHA1 (unicode-width-0.1.8.crate) = c5eec29c1b9d03c08b963b8fcbcf9e69ba6bdca3
+RMD160 (unicode-width-0.1.8.crate) = 920b0f2e5ffe2e65efd68ea35640b2b9720636f0
+SHA512 (unicode-width-0.1.8.crate) = 0abba6da6981a2451e01d93bbd47652c46eb6fb07cc0214f33259fb29945bfd5ee2b302e883ddca8f68e921635f222701b7310e7da2a5e225f854980d1e474b0
+Size (unicode-width-0.1.8.crate) = 16732 bytes
+SHA1 (unicode-xid-0.2.1.crate) = c9132224bdc93872dd5b4d8099f5318ba15f2dfd
+RMD160 (unicode-xid-0.2.1.crate) = f22de16f57fe27fc9e88639f3a86310f8fd27ee7
+SHA512 (unicode-xid-0.2.1.crate) = 91e862137e837baea82829431cfed36634fdb05339f00c756eb5a4b429ef0bb871f5133d11adf9a023fa22168c8a0cf194ff3669779f04f219d48fc4fac339d2
+Size (unicode-xid-0.2.1.crate) = 14392 bytes
+SHA1 (vec_map-0.8.2.crate) = 5417b7a8ab1fec1368f993e28ff141636f1d4b02
+RMD160 (vec_map-0.8.2.crate) = dc0c5e6458586494c3bea361d24856055b2b723b
+SHA512 (vec_map-0.8.2.crate) = 4f1ef59bc2c437e79f1f84fe021bce5aa8ccd581f500f3d5776913d5f17d45b03ccee64f5bd03d47656318cfc9344a1f4311079d471fa409a8e4e94c143973f9
+Size (vec_map-0.8.2.crate) = 14466 bytes
+SHA1 (version_check-0.9.2.crate) = 8e3589a8a3def4d51890213461a38df9d6afae4f
+RMD160 (version_check-0.9.2.crate) = 7dd20a9323a2607d7d94c7cd52391b2fcbd3ca35
+SHA512 (version_check-0.9.2.crate) = b88a9d545ef103fe6d0eebe7ddcf328fc21fcb02c60828b347cfc35afd957669e652a94d880ef992450c167df3505838bc649e0d83896542fa13a149875acf26
+Size (version_check-0.9.2.crate) = 11979 bytes
+SHA1 (wasi-0.9.0+wasi-snapshot-preview1.crate) = f906b20eeae7b0ae0d2a67225c9f58c8a2f93f99
+RMD160 (wasi-0.9.0+wasi-snapshot-preview1.crate) = 3aed162b7fc9baba4cf37ea82fb9a4efdff3d40b
+SHA512 (wasi-0.9.0+wasi-snapshot-preview1.crate) = dbe641f796ee3a5daafcaafc911ecc6dff170340f477c2df7a61fb4858a85aefc2637c9e61973ecce66a987aa8e08a736273a4aad3ef47eaf61ed4268dbf9c47
+Size (wasi-0.9.0+wasi-snapshot-preview1.crate) = 31521 bytes
+SHA1 (winapi-0.3.9.crate) = 25c427fe8e3df07658e2552d2585d2f167ba3125
+RMD160 (winapi-0.3.9.crate) = 37e72db32b20588d61821e9bc5e72fb31b1ed089
+SHA512 (winapi-0.3.9.crate) = ff8b7b78065f3d8999ec03c725a0460ebc059771bf071c7a3df3f0ecd733edf3b0a2450024d4e24e1aedddaecd9038ce1376c0d8bbf45132068cf45cf4a53a97
+Size (winapi-0.3.9.crate) = 1200382 bytes
+SHA1 (winapi-i686-pc-windows-gnu-0.4.0.crate) = cf2bc857823de6008e6da350ad2c97c7be564322
+RMD160 (winapi-i686-pc-windows-gnu-0.4.0.crate) = a7d1e9e7f940d2e376a1b6dede7f0a50ad191ab8
+SHA512 (winapi-i686-pc-windows-gnu-0.4.0.crate) = a672ccefd0730a8166fef1d4e39f9034d9ae426a3f5e28d1f4169fa5c5790767693f281d890e7804773b34acdb0ae1febac33cde8c50c0044a5a6152c7209ec2
+Size (winapi-i686-pc-windows-gnu-0.4.0.crate) = 2918815 bytes
+SHA1 (winapi-x86_64-pc-windows-gnu-0.4.0.crate) = eadfdb146024d37b6887b5b9cb6a69f61473ed8a
+RMD160 (winapi-x86_64-pc-windows-gnu-0.4.0.crate) = 300417853d251d91cadb9650992a6aa98248619f
+SHA512 (winapi-x86_64-pc-windows-gnu-0.4.0.crate) = 4a654af6a5d649dc87e00497245096b35a2894ae66f155cb62389902c3b93ddcc5cf7d0d8b9dd97b291d2d80bc686af2298e80abef6ac69883f4a54e79712513
+Size (winapi-x86_64-pc-windows-gnu-0.4.0.crate) = 2947998 bytes
+SHA1 (patch-Cargo.toml) = faef7f0325ee7460bf170221a506a6810cbde9db
diff --git a/textproc/csview/patches/patch-Cargo.toml b/textproc/csview/patches/patch-Cargo.toml
new file mode 100644
index 00000000000..1c9f7d49ea7
--- /dev/null
+++ b/textproc/csview/patches/patch-Cargo.toml
@@ -0,0 +1,22 @@
+$NetBSD: patch-Cargo.toml,v 1.1 2021/05/12 12:24:41 pin Exp $
+
+Provide unpublished crate
+
+--- Cargo.toml.orig 2021-04-05 03:51:21.000000000 +0000
++++ Cargo.toml
+@@ -23,7 +23,7 @@ csv = "^1.1.6"
+ structopt = { version = "^0.3.21", features = ["wrap_help"] }
+ exitcode = "^1.1.2"
+ anyhow = "^1.0.38"
+-prettytable-rs = "^0.8"
++prettytable-rs = { path = "prettytable-rs-3239b51dbbb449e69cd599b83bfb152441209cc3" }
+
+ [build-dependencies]
+ structopt = "^0.3.21"
+@@ -31,6 +31,3 @@ structopt = "^0.3.21"
+ [profile.release]
+ lto = true
+ codegen-units = 1
+-
+-[patch.crates-io]
+-prettytable-rs = { git = "https://github.com/wfxr/prettytable-rs" }