pantry/projects/github.com/hykilpikonna/hyfetch/package.yml
Jacob Heider 48dd4fc808 split(neowofetch)
moves the simple bash `neowofetch` tool into its own sub repo for users who don't want a whole python system

ref: https://github.com/pkgxdev/pantry/pull/6042#issuecomment-2091269675
2024-05-02 16:47:58 -04:00

40 lines
942 B
YAML

distributable:
url: https://github.com/hykilpikonna/hyfetch/archive/refs/tags/{{version.tag}}.tar.gz
strip-components: 1
versions:
github: hykilpikonna/hyfetch
dependencies:
pkgx.sh: ^1
build:
dependencies:
python.org: ~3.12
script:
- bkpyvenv stage {{prefix}} {{version}}
- ${{prefix}}/venv/bin/pip install .
- bkpyvenv seal {{prefix}} hyfetch
provides:
- bin/hyfetch
test:
- run: hyfetch -C $FIXTURE --args="--config none --color-blocks off --disable wm de term gpu"
fixture: |
{
"preset": "genderfluid",
"mode": "rgb",
"light_dark": "dark",
"lightness": 0.5,
"color_align": {
"mode": "horizontal",
"custom_colors": [],
"fore_back": null
},
"backend": "neofetch",
"distro": null,
"pride_month_shown": [],
"pride_month_disable": false
}
- hyfetch --version | grep {{version}}