diff --git a/recipes-support/fzf/fzf-go-mods.inc b/recipes-support/fzf/fzf-go-mods.inc new file mode 100644 index 0000000..643341b --- /dev/null +++ b/recipes-support/fzf/fzf-go-mods.inc @@ -0,0 +1,14 @@ + +# This file has been generated by go-mod-update-modules.bbclass +# +# Do not modify it by hand, as the contents will be replaced when +# running the update-modules task. + +SRC_URI += "\ + gomod://github.com/charlievieth/fastwalk;version=v1.0.14;sha256sum=08fb812ab587d7bb10d70d88adce496218e7501c7b1719138937a54d81f5fec9 \ + gomod://github.com/junegunn/go-shellwords;version=v0.0.0-20250127100254-2aa3b3277741;sha256sum=98c5c4410d555d1268b4048ddd9acaf925660fb19e65d746a70f0ba5c6308616 \ + gomod://github.com/mattn/go-isatty;version=v0.0.20;sha256sum=f2d5f89ca451577e17464b9bb596dc0d0ecececb5eaa63622c41b57cd0b7b8cc \ + gomod://github.com/rivo/uniseg;version=v0.4.7;sha256sum=b995e4aa0cc1e5779cc61138ac925cb8c1e963e40c80e4b93ee8553812ebb792 \ + gomod://golang.org/x/sys;version=v0.35.0;sha256sum=dc3c20611168aaa8fda0d71999be1a5222a0ba57bc767c978a590e41ff2ede35 \ + gomod://golang.org/x/term;version=v0.34.0;sha256sum=22281cbf30560433d57de8d72c1151f9cac2917795dc6e9f694f7a525bb5309c \ +" diff --git a/recipes-support/fzf/fzf-licenses.inc b/recipes-support/fzf/fzf-licenses.inc new file mode 100644 index 0000000..ec98c8e --- /dev/null +++ b/recipes-support/fzf/fzf-licenses.inc @@ -0,0 +1,16 @@ + +# This file has been generated by go-mod-update-modules.bbclass +# +# Do not modify it by hand, as the contents will be replaced when +# running the update-modules task. + +LICENSE += "& BSD-3-Clause & MIT" + +LIC_FILES_CHKSUM += "\ + file://pkg/mod/github.com/charlievieth/fastwalk@v1.0.14/LICENSE;md5=ca768dcff348a2a95cf861f3312b0a5c;spdx=MIT \ + file://pkg/mod/github.com/junegunn/go-shellwords@v0.0.0-20250127100254-2aa3b3277741/LICENSE;md5=e5116fc268f5118168ff06a271b50ef9;spdx=MIT \ + file://pkg/mod/github.com/mattn/go-isatty@v0.0.20/LICENSE;md5=f509beadd5a11227c27b5d2ad6c9f2c6;spdx=MIT \ + file://pkg/mod/github.com/rivo/uniseg@v0.4.7/LICENSE.txt;md5=4393c339bf180cf6e188b6ea32d8b93c;spdx=MIT \ + file://pkg/mod/golang.org/x/sys@v0.35.0/LICENSE;md5=7998cb338f82d15c0eff93b7004d272a;spdx=BSD-3-Clause \ + file://pkg/mod/golang.org/x/term@v0.34.0/LICENSE;md5=7998cb338f82d15c0eff93b7004d272a;spdx=BSD-3-Clause \ +" diff --git a/recipes-support/fzf/fzf_0.66.0.bb b/recipes-support/fzf/fzf_0.66.0.bb new file mode 100644 index 0000000..51867f7 --- /dev/null +++ b/recipes-support/fzf/fzf_0.66.0.bb @@ -0,0 +1,18 @@ +SUMMARY = "A command-line fuzzy finder" +HOMEPAGE = "https://github.com/junegunn/fzf.git" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://src/${GO_IMPORT}/LICENSE;md5=4e11c26cb155f78c5467051a82533faa" + +GO_IMPORT = "github.com/junegunn/fzf" + +SRC_URI = "git://${GO_IMPORT};destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/src/${GO_IMPORT};branch=master;protocol=https" + +PV = "0.66.0" +SRCREV = "8cdfb23df69df0a991d122185b00e8900875a8cf" + +require ${PN}-go-mods.inc ${PN}-licenses.inc + +inherit go-mod go-mod-update-modules + +GO_INSTALL = "${GO_IMPORT}" +