distributable:
  url: https://github.com/cilium/hubble/archive/refs/tags/v{{ version }}.tar.gz
  strip-components: 1

display-name: hubble

versions:
  github: cilium/hubble/releases/tags

build:
  dependencies:
    go.dev: ^1.22
  script: |
    make install BINDIR={{ prefix }}/bin VERSION={{ version }} GIT_BRANCH= GIT_HASH=

provides:
  - bin/hubble

test:
  - hubble version | grep {{ version }}
