initial snap commit (#1864)

This commit is contained in:
kz6fittycent 2025-08-15 19:30:56 -05:00 committed by GitHub
parent 3c2d4b22d2
commit db11c17e54
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 82 additions and 3 deletions

50
snap/snapcraft.yaml Normal file
View file

@ -0,0 +1,50 @@
name: miller
adopt-info: miller
summary: Miller is like awk, sed, cut, join and sort
description: |
Miller is like awk, sed, cut, join, and sort for data formats such as CSV, TSV, JSON, JSON Lines, and positionally-indexed.
contact: https://github.com/johnkerl/miller/issues
issues: https://github.com/johnkerl/miller/issues
source-code: https://github.com/johnkerl/miller
license: BSD-2-Clause
base: core24
grade: stable
confinement: strict
compression: lzo
platforms:
amd64:
build-on: [amd64]
build-for: [amd64]
arm64:
build-on: [arm64]
build-for: [arm64]
armhf:
build-on: [armhf]
build-for: [armhf]
s390x:
build-on: [s390x]
build-for: [s390x]
ppc64el:
build-on: [ppc64el]
build-for: [ppc64el]
apps:
miller:
command: usr/local/bin/mlr
plugs:
- home
parts:
miller:
source: https://github.com/johnkerl/miller
source-type: git
plugin: make
build-snaps:
- go
override-pull: |
craftctl default
craftctl set version="$(git describe --tags | sed 's/^v//' | cut -d "-" -f1)"