diff --git a/projects/github.com/hykilpikonna/hyfetch/package.yml b/projects/github.com/hykilpikonna/hyfetch/package.yml new file mode 100644 index 00000000..2fce2a12 --- /dev/null +++ b/projects/github.com/hykilpikonna/hyfetch/package.yml @@ -0,0 +1,42 @@ +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 neowofetch + +provides: + - bin/hyfetch + - bin/neowofetch + +test: + - neowofetch --config none --color-blocks off --disable wm de term gpu + - 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}} \ No newline at end of file