yq/snap/snapcraft.yaml
2025-11-25 10:45:39 +11:00

35 lines
907 B
YAML

name: yq
version: 'v4.49.2'
summary: A lightweight and portable command-line data file processor
description: |
`yq` uses [jq](https://github.com/stedolan/jq) like syntax but works with yaml, json, xml, csv, properties and TOML files.
base: core22
grade: stable # devel|stable. must be 'stable' to release into candidate/stable channels
confinement: strict
architectures:
- build-on: [amd64]
build-for: [amd64]
- build-on: [arm64]
build-for: [arm64]
- build-on: [armhf]
build-for: [armhf]
- build-on: [ppc64el]
build-for: [ppc64el]
- build-on: [s390x]
build-for: [s390x]
- build-on: [riscv64]
build-for: [riscv64]
apps:
yq:
command: bin/yq
plugs: [home, removable-media]
parts:
yq:
plugin: go
build-environment:
- CGO_ENABLED: 0
source: https://github.com/mikefarah/yq.git
source-tag: v4.49.2
build-snaps:
- go/latest/stable