yq/snap/snapcraft.yaml
林博仁(Buo-ren, Lin) 311622d14b
Add removable-media interface plug declaration to the snap packaging(#1618) (#1619)
Allow snap users to process YAML documents under /media or /mnt paths after connecting to the `removable-media` snapd slot:

```
sudo snap connect yq :removable-media
```

Fixes #1618.
2023-03-29 09:22:25 +11:00

20 lines
489 B
YAML

name: yq
version: 'v4.33.1'
summary: A lightweight and portable command-line YAML processor
description: |
The aim of the project is to be the jq or sed of yaml files.
base: core18
grade: stable # devel|stable. must be 'stable' to release into candidate/stable channels
confinement: strict
apps:
yq:
command: yq
plugs: [home, removable-media]
parts:
yq:
plugin: go
go-channel: 1.20/stable
source: .
source-type: git
go-importpath: github.com/mikefarah/yq