# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem          1.0
PortGroup           golang 1.0

go.setup            github.com/wader/fq 0.9.0 v
github.tarball_from archive
revision            0

description         jq for binary formats

long_description    \
    {*}${description}. ${name} is a tool, language and set of decoders for \
    inspecting binary data. In most cases ${name} works the same way as jq \
    but instead of reading JSON it reads binary data. The result is a JSON \
    compatible structures where each value has a bit range, symbolic \
    interpretations and know how to be presented in a useful way.

categories          sysutils
installs_libs       no
license             MIT
maintainers         {gmail.com:herby.gillot @herbygillot} \
                    openmaintainer

build.pre_args-append \
    -ldflags \"-s -w -X main.version=${github.tag_prefix}${version}\"

destroot {
    xinstall -m 0755 ${worksrcpath}/${name} ${destroot}${prefix}/bin/
}

checksums           ${distname}${extract.suffix} \
                        rmd160  2fe6a43c9cbb99f14e96abc2513f94c62277824a \
                        sha256  431e68e31bb47049872d793cf0f32468c0b02d23c3c812e10ce0e4498b11a36d \
                        size    15107174

go.vendors          gopkg.in/yaml.v3 \
                        lock    v3.0.1 \
                        rmd160  e85ac1368fb7f9ef945b7fd7bd608a1f0d261c12 \
                        sha256  f3ea6be3f405ec25f8799773355aba54f8831d11f5315a01155bdc69b92eca7b \
                        size    91208 \
                    gopkg.in/check.v1 \
                        lock    8fa46927fb4f \
                        rmd160  c84f37dc900224c5e9e6e16ed5acc0d625583bc1 \
                        sha256  c41439b343f3fc3c0b6f943b4aae642f10f19451e945c23dfb324c9c8f87d0b7 \
                        size    31616 \
                    golang.org/x/text \
                        lock    v0.14.0 \
                        rmd160  e26a72d542901d19f6dde4e07746f72206fb8701 \
                        sha256  ef54709caaafdd8b27ce3d5f7c53408f11bc5fd1688c1c4f328de8ed268b3188 \
                        size    8972503 \
                    golang.org/x/sys \
                        lock    v0.14.0 \
                        rmd160  d36195a767e48169c413eb77843e71fa014e7ac2 \
                        sha256  9407ff6fbe0423f2559a99f7ad55479e1eb20201c5dfb9e885abb83c7b44bfc4 \
                        size    1442384 \
                    golang.org/x/net \
                        lock    v0.18.0 \
                        rmd160  9a4a8e921ea11299a999fed57fa91004c50067f2 \
                        sha256  fb695f11fd469009cd539e410865e6260e1c1e5dbc18983953e491173722bad3 \
                        size    1468665 \
                    golang.org/x/exp \
                        lock    9a3e6036ecaa \
                        rmd160  d550becf8d5e2fee3164793c7c9cc30a54d6444c \
                        sha256  869d27c4289deefb75d9483ca2fca84dd4dca1aa9ba36c0e9c0c6a3b6bb7fd20 \
                        size    1635127 \
                    golang.org/x/crypto \
                        lock    v0.15.0 \
                        rmd160  08e93131b3d22ceacee5f50d56f88ff2bb591df5 \
                        sha256  bc663378acfc6d12da33eb2a58fccd7c8c3e254e86bcff44fe714088c05bff93 \
                        size    1801178 \
                    github.com/wader/readline \
                        lock    bcb7158e7448 \
                        rmd160  4910c89728004524b84e6adcf39c9484bfaaa4d8 \
                        sha256  151b2a252f19d4d8e1f25236a9673c4fab5cb03e5d76a6d41e89e9233e9cea4f \
                        size    40357 \
                    github.com/wader/gojq \
                        lock    2b6d9e2f4985 \
                        rmd160  7075f5bfdcf91ea59ad2af8032a309078e358bd6 \
                        sha256  cd7f8042a0dc62b37870cefa6f5ce69c5bde3a3f38bebccef18e1d97215aedc7 \
                        size    134465 \
                    github.com/pmezard/go-difflib \
                        lock    v1.0.0 \
                        rmd160  fc879bfbdef9e3ff50844def58404e2b5a613ab8 \
                        sha256  7cd492737641847266115f3060489a67f63581e521a8ec51efbc280c33fc991f \
                        size    11409 \
                    github.com/niemeyer/pretty \
                        lock    a10e7caefd8e \
                        rmd160  46bcfc3db9e3d98acbacd1f96d9483fa360f88b7 \
                        sha256  97b952a32175ba84349ef352e523bfa15bf3a06e07e44458a908061fbc519b40 \
                        size    9405 \
                    github.com/mitchellh/reflectwalk \
                        lock    v1.0.2 \
                        rmd160  0371e346bfe14926662afff3eeda22ce6dc6d2a4 \
                        sha256  472ea8302bfe36cd5ea5a66cb9ee996d6984ce74bfc9b7c15e763f21687b3eff \
                        size    6863 \
                    github.com/mitchellh/mapstructure \
                        lock    v1.5.0 \
                        rmd160  c838fb22a642081963c8e6f236cdd4c6000bfaf4 \
                        sha256  bd695f63e58f35f07aac6883ac5dc53d44db6cf24caa53efaadcf0842d03d762 \
                        size    30135 \
                    github.com/mitchellh/copystructure \
                        lock    v1.2.0 \
                        rmd160  401559c8d2db7a6becabf583dca6843e5cd3c5ac \
                        sha256  e6cbd00eca63c91837cd094e89bda52d067163dc5b5db12758b8995c75fd3377 \
                        size    9936 \
                    github.com/kr/text \
                        lock    v0.1.0 \
                        rmd160  0b3c78459e227170a3b80a0103d87a3eef77ed88 \
                        sha256  5ed970aad0da3cba3cffacdb4d154a162a8968655ee6d6f7b627e71b869efaf6 \
                        size    8691 \
                    github.com/itchyny/timefmt-go \
                        lock    v0.1.5 \
                        rmd160  8309766b9bb7dd9d0189ac95c3d42b1ef030aabb \
                        sha256  b71b6865c5c1b0f7f28b6308893b9f4d127e07ab27a4f4bd7c5d8d5b25b25d0f \
                        size    13277 \
                    github.com/gopacket/gopacket \
                        lock    v1.2.0 \
                        rmd160  c7cbd9dabba940c7a1fa7494db3c4e17d1e90447 \
                        sha256  19c9fae7cab5a34a65c228ff713fae14040a03c584148ac7eb3ccef6d4bdb7ce \
                        size    1863008 \
                    github.com/gomarkdown/markdown \
                        lock    a660076da3fd \
                        rmd160  55d73a13e2b728b224502d0e0bf3ee615525639d \
                        sha256  6badf185a88dcfc9569ee37c0a019d19f4af2f6e06c542ac7d048ea47c85cf99 \
                        size    122762 \
                    github.com/golang/snappy \
                        lock    v0.0.4 \
                        rmd160  23c095b7e2bc6f5a978d771e4ecc9f7b0f204491 \
                        sha256  6a2d69e63124670c8b8105fb34d32f3f34f6816f93bf5a6e28f85c428c5b40ae \
                        size    66136 \
                    github.com/creasty/defaults \
                        lock    v1.7.0 \
                        rmd160  3021f8240f91b5409c762b085cdf7461879473a6 \
                        sha256  ffcb035b692bbea86faa9c1fba3dc02370a58d6a79134123cc6a8dfed2668714 \
                        size    8114 \
                    github.com/BurntSushi/toml \
                        lock    v1.3.2 \
                        rmd160  d34d7e7532c67412d48f3777a5bba8cd5a04b0cd \
                        sha256  ba788b5f21507f40faa972bc86cb87d8929c798959f7402152d86120ac357d05 \
                        size    119417
