sysutils/fx: new port -- fx is a tool to interact with JSON files in your terminal

WWW:	https://github.com/antonmedv/fx

PR:		263479
This commit is contained in:
Gabriel M. Dutra 2022-04-24 19:08:51 +02:00 committed by Tobias C. Berner
parent df352abe94
commit cb90e81f5a
4 changed files with 88 additions and 0 deletions

View File

@ -439,6 +439,7 @@
SUBDIR += fusefs-zip
SUBDIR += fvcool
SUBDIR += fwup
SUBDIR += fx
SUBDIR += g15daemon
SUBDIR += gaffitter
SUBDIR += ganglia-monitor-core

41
sysutils/fx/Makefile Normal file
View File

@ -0,0 +1,41 @@
# Created by: Gabriel M. Dutra <0xdutra@gmail.com>
PORTNAME= fx
DISTVERSION= 21.0.0
CATEGORIES= sysutils
MAINTAINER= 0xdutra@gmail.com
COMMENT= Terminal JSON viewer
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= go:modules
USE_GITHUB= yes
GH_ACCOUNT= antonmedv
GH_TUPLE= \
atotto:clipboard:v0.1.4:atotto_clipboard/vendor/github.com/atotto/clipboard \
charmbracelet:bubbles:v0.10.3:charmbracelet_bubbles/vendor/github.com/charmbracelet/bubbles \
charmbracelet:bubbletea:v0.20.0:charmbracelet_bubbletea/vendor/github.com/charmbracelet/bubbletea \
charmbracelet:lipgloss:v0.5.0:charmbracelet_lipgloss/vendor/github.com/charmbracelet/lipgloss \
containerd:console:v1.0.3:containerd_console/vendor/github.com/containerd/console \
davecgh:go-spew:v1.1.0:davecgh_go_spew/vendor/github.com/davecgh/go-spew \
go-yaml:yaml:9f266ea9e77c:go_yaml_yaml/vendor/gopkg.in/yaml.v3 \
golang:sys:3f8b81556e12:golang_sys/vendor/golang.org/x/sys \
golang:term:03fcf44c2211:golang_term/vendor/golang.org/x/term \
lucasb-eyer:go-colorful:v1.2.0:lucasb_eyer_go_colorful/vendor/github.com/lucasb-eyer/go-colorful \
mattn:go-isatty:v0.0.14:mattn_go_isatty/vendor/github.com/mattn/go-isatty \
mattn:go-runewidth:v0.0.13:mattn_go_runewidth/vendor/github.com/mattn/go-runewidth \
mazznoer:colorgrad:v0.8.1:mazznoer_colorgrad/vendor/github.com/mazznoer/colorgrad \
mazznoer:csscolorparser:v0.1.0:mazznoer_csscolorparser/vendor/github.com/mazznoer/csscolorparser \
muesli:ansi:c9f0611b6c70:muesli_ansi/vendor/github.com/muesli/ansi \
muesli:reflow:v0.3.0:muesli_reflow/vendor/github.com/muesli/reflow \
muesli:termenv:44cd13922739:muesli_termenv/vendor/github.com/muesli/termenv \
pmezard:go-difflib:v1.0.0:pmezard_go_difflib/vendor/github.com/pmezard/go-difflib \
rivo:uniseg:v0.2.0:rivo_uniseg/vendor/github.com/rivo/uniseg \
stretchr:testify:v1.7.1:stretchr_testify/vendor/github.com/stretchr/testify
PLIST_FILES= bin/${PORTNAME}
.include <bsd.port.mk>

43
sysutils/fx/distinfo Normal file
View File

@ -0,0 +1,43 @@
TIMESTAMP = 1650675156
SHA256 (antonmedv-fx-21.0.0_GH0.tar.gz) = 4711c582ce69c53f5ee8a348d603e0fab5f302859a020609ef33c2ef566f0d68
SIZE (antonmedv-fx-21.0.0_GH0.tar.gz) = 639589
SHA256 (atotto-clipboard-v0.1.4_GH0.tar.gz) = cafd64dc78f293c1e774386186f3f817461a1a8940ef86d5d9e9524b58aa791e
SIZE (atotto-clipboard-v0.1.4_GH0.tar.gz) = 5017
SHA256 (charmbracelet-bubbles-v0.10.3_GH0.tar.gz) = 7a0f463d558616e268552cb2c902467fdfce3dc3222166e405cd8b38ac96068f
SIZE (charmbracelet-bubbles-v0.10.3_GH0.tar.gz) = 35701
SHA256 (charmbracelet-bubbletea-v0.20.0_GH0.tar.gz) = 6f25c09eee16d858bde223f01e491d4781caef10241b3d99ff7eb4263c3cfe68
SIZE (charmbracelet-bubbletea-v0.20.0_GH0.tar.gz) = 65966
SHA256 (charmbracelet-lipgloss-v0.5.0_GH0.tar.gz) = 44b91523053226f939f2d08ec091343203c6eafb77efcecbd1742c461fbd7551
SIZE (charmbracelet-lipgloss-v0.5.0_GH0.tar.gz) = 27283
SHA256 (containerd-console-v1.0.3_GH0.tar.gz) = 61bc166fd91d4639870a2395ce7a89cb4585d343c521fcd397bef66324772f91
SIZE (containerd-console-v1.0.3_GH0.tar.gz) = 13712
SHA256 (davecgh-go-spew-v1.1.0_GH0.tar.gz) = 1f7e0bd2db0341925b5f2ee5834e99380f4c2b1bd36cf0fa62d7717899d39d62
SIZE (davecgh-go-spew-v1.1.0_GH0.tar.gz) = 42337
SHA256 (go-yaml-yaml-9f266ea9e77c_GH0.tar.gz) = 63efc9aabcbb56b2c9469927784fd67ecb3a79720c4fa754c511335a04156d04
SIZE (go-yaml-yaml-9f266ea9e77c_GH0.tar.gz) = 86898
SHA256 (golang-sys-3f8b81556e12_GH0.tar.gz) = 1226bd894cd33a3f9fcf853673576dc53a7180ce41ed731ab4c9434852403872
SIZE (golang-sys-3f8b81556e12_GH0.tar.gz) = 1292214
SHA256 (golang-term-03fcf44c2211_GH0.tar.gz) = 1919967c8fbf15de9261a2315d90072357524ee557d7df106b426def02a8e5f3
SIZE (golang-term-03fcf44c2211_GH0.tar.gz) = 14972
SHA256 (lucasb-eyer-go-colorful-v1.2.0_GH0.tar.gz) = b3ee835cc398287452377266313edcc231043bae4168f8d2706e5d34ce1ce755
SIZE (lucasb-eyer-go-colorful-v1.2.0_GH0.tar.gz) = 970830
SHA256 (mattn-go-isatty-v0.0.14_GH0.tar.gz) = e6460325edf600297cf2ef68834938fb1c5b8d5f234b3b24ec7c0a29a2d70b39
SIZE (mattn-go-isatty-v0.0.14_GH0.tar.gz) = 4710
SHA256 (mattn-go-runewidth-v0.0.13_GH0.tar.gz) = 9b2aeafa5d95a40b32067ba22accdf42cc83414ec5b433ea7de330791beaa196
SIZE (mattn-go-runewidth-v0.0.13_GH0.tar.gz) = 17353
SHA256 (mazznoer-colorgrad-v0.8.1_GH0.tar.gz) = 386b9124cabb7cabadb516b3bc6002d6234206fa59a19abd204efde8a662d9dc
SIZE (mazznoer-colorgrad-v0.8.1_GH0.tar.gz) = 192544
SHA256 (mazznoer-csscolorparser-v0.1.0_GH0.tar.gz) = 288bf79aafe2f6b12df3d5918fd80a4420905b2893984e2a6a403fd4fc4983a6
SIZE (mazznoer-csscolorparser-v0.1.0_GH0.tar.gz) = 15995
SHA256 (muesli-ansi-c9f0611b6c70_GH0.tar.gz) = 4abe461febbb907fbce2eb7c2059488b7b95c9b20edb1ae7c8c4505a64460c29
SIZE (muesli-ansi-c9f0611b6c70_GH0.tar.gz) = 5131
SHA256 (muesli-reflow-v0.3.0_GH0.tar.gz) = f797b8c25d447e314ad92b155433562446c683924171be1698ad44f24c79f651
SIZE (muesli-reflow-v0.3.0_GH0.tar.gz) = 21245
SHA256 (muesli-termenv-44cd13922739_GH0.tar.gz) = 6ea80ef74dcf5fab19d0a3c8c2b38542ea4bb3621f82cc3db042860b15606234
SIZE (muesli-termenv-44cd13922739_GH0.tar.gz) = 412112
SHA256 (pmezard-go-difflib-v1.0.0_GH0.tar.gz) = 28f3dc1b5c0efd61203ab07233f774740d3bf08da4d8153fb5310db6cea0ebda
SIZE (pmezard-go-difflib-v1.0.0_GH0.tar.gz) = 11398
SHA256 (rivo-uniseg-v0.2.0_GH0.tar.gz) = 3ad738b5c9162ede110d75b23564b6e40e52dd9150ebbced402f4f70be106197
SIZE (rivo-uniseg-v0.2.0_GH0.tar.gz) = 44036
SHA256 (stretchr-testify-v1.7.1_GH0.tar.gz) = 5a53303e8ae54d0d581895f5bf8aae82f64f53c04c1c0f9e27a0ebeffa579a92
SIZE (stretchr-testify-v1.7.1_GH0.tar.gz) = 93989

3
sysutils/fx/pkg-descr Normal file
View File

@ -0,0 +1,3 @@
fx is a tool to interact with JSON files in your terminal.
WWW: https://github.com/antonmedv/fx