# -*- 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/peco/peco 0.6.0 v
categories      sysutils
homepage        https://peco.github.io
description     Simplistic interactive filtering tool
long_description \
        peco can be a great tool to filter stuff like logs, process stats, find \
        files, because unlike grep, you can type as you think and look through  \
        the current results.
license         MIT

maintainers     {kimuraw @kimuraw} openmaintainer

# peco
checksums       peco-${version}.tar.gz \
                    rmd160  f96f761b30587fbea8f2dbbf0b6765b66adc7b5d \
                    sha256  480ba339c5b15ebb9eada276d5e25315ee5c36e878d86dcfc1ea17f54a27197a \
                    size    180760

# dependencies to build. remember revbump when you change version of dependencies.
# see https://github.com/peco/peco/blob/v${version}/go.mod
go.vendors          gopkg.in/yaml.v3 \
                        lock    v3.0.1 \
                        rmd160  e85ac1368fb7f9ef945b7fd7bd608a1f0d261c12 \
                        sha256  f3ea6be3f405ec25f8799773355aba54f8831d11f5315a01155bdc69b92eca7b \
                        size    91208 \
                    gopkg.in/check.v1 \
                        lock    20d25e280405 \
                        rmd160  412aa0d109919182ff84259e9b5bbc9f24d78117 \
                        sha256  233f8faf427ce6701ac3427f85c28bc6b6ae7cdc97a303a52873c69999223325 \
                        size    30360 \
                    golang.org/x/text \
                        lock    v0.31.0 \
                        rmd160  4739b997f583cd40e344ce91f5882f4bfef04ac3 \
                        sha256  11465ea85289ec2c719b442b3fba63c92a8fe01aa67ee2ea5e4f2723540b8809 \
                        size    8971076 \
                    golang.org/x/term \
                        lock    v0.37.0 \
                        rmd160  3759f4d1753501eddc200d9470abbc5532628b4d \
                        sha256  5c843cde30cc5db1f4f91029922acfef7ef7b2f25e8de668a9810bb6eb6b8920 \
                        size    15933 \
                    golang.org/x/sys \
                        lock    v0.38.0 \
                        rmd160  116c6683aefacc223a60af4811ab8d97c4d3f6b0 \
                        sha256  5a63f5eb3814a66b1988ad9ff703c8d54d79463eed52a49f546091e17682cbc7 \
                        size    1535499 \
                    github.com/stretchr/testify \
                        lock    v1.11.1 \
                        rmd160  d6dec631a506398b8b731a0476b9e44c206243ac \
                        sha256  759279b90772bfc79db1620874f45eb008aceab35b14f007cb4ab8316a2398db \
                        size    116867 \
                    github.com/rivo/uniseg \
                        lock    v0.4.7 \
                        rmd160  a9056dc9a2a80aa9c46d0ff9e54f9e2e5a498c41 \
                        sha256  abc6a2f17b64b34b8a0c56eb9d0b53886ebbe0c88d467755c09c7fa696a16677 \
                        size    458166 \
                    github.com/pmezard/go-difflib \
                        lock    v1.0.0 \
                        rmd160  fc879bfbdef9e3ff50844def58404e2b5a613ab8 \
                        sha256  7cd492737641847266115f3060489a67f63581e521a8ec51efbc280c33fc991f \
                        size    11409 \
                    github.com/mattn/go-runewidth \
                        lock    v0.0.20 \
                        rmd160  eeaf7b9dc9491f1dffa87df1026565cdbf8718b5 \
                        sha256  2a0d80bda12f28f6da6f45d1af4be0bc9124f406ec3c9be9ace071e09fd8af38 \
                        size    21190 \
                    github.com/lucasb-eyer/go-colorful \
                        lock    v1.3.0 \
                        rmd160  f32cca200fcf4db4d0e51cc457baf68f212d8965 \
                        sha256  4168f7454b19120873f75a67d1eeb7be312ea852542e21db1a96b65e514e56c2 \
                        size    982361 \
                    github.com/lestrrat-go/pdebug \
                        lock    39f9a71bcabe \
                        rmd160  dc2aada459b6d3ce514242416d28c545bc98758e \
                        sha256  6daaeee76d58c41ea871bd014b5b19312e97e652acdf9839dce5df606c29bac5 \
                        size    5187 \
                    github.com/jessevdk/go-flags \
                        lock    v1.6.1 \
                        rmd160  61f2591bfa8d5664c9248474d03b3d68dfb06407 \
                        sha256  255dbce47c61b177d60995976214f79399762861b552fe7a0301c008fbff4ac1 \
                        size    60634 \
                    github.com/google/btree \
                        lock    v1.1.3 \
                        rmd160  65220218f4464ebe506165f5941926453315de1b \
                        sha256  00c45758ac24e831e88000a992b2395a4354a671398303d14a8c8a916984af5b \
                        size    19790 \
                    github.com/goccy/go-yaml \
                        lock    v1.19.2 \
                        rmd160  07fa4d9bd9e018a5110b7b2e88cb37fab3e45a87 \
                        sha256  1522fe58003c4d6185327ef6b8e1f3189cc10e1dd8f59612099cf514eb7dd12f \
                        size    666918 \
                    github.com/gdamore/tcell \
                        lock    v2.13.8 \
                        rmd160  70aa696c4d863454b2f80df12b01d7d429cce9a2 \
                        sha256  d4ab6a35b9630e9a7aafe983d1edfba36ca5078494f17c00ebd09d05b6fe268f \
                        size    177343 \
                    github.com/gdamore/encoding \
                        lock    v1.0.1 \
                        rmd160  7e73cab014fe3647552b67678a397ba5ce2475e9 \
                        sha256  dc7a586abe34b2d9562ca2aed225a1db734cc8b548a89bb238e75251d9aa0344 \
                        size    14814 \
                    github.com/davecgh/go-spew \
                        lock    v1.1.1 \
                        rmd160  7c02883aa81f81aca14e13a27fdca9e7fbc136f7 \
                        sha256  e85d6afa83e64962e0d63dd4812971eccf2b9b5445eda93f46a4406f0c177d5f \
                        size    42171 \
                    github.com/clipperhouse/uax29 \
                        lock    v2.2.0 \
                        rmd160  9d56b6ecadc9b977922cf1a9763f1c4a8496f995 \
                        sha256  dd907ccd83af2897b812f34920729d88c31809ea5526973978f4eab7b80b5237 \
                        size    279573

build.target    cmd/peco/peco.go

destroot {
    xinstall ${worksrcpath}/peco ${destroot}${prefix}/bin
}
