pantry/projects/huggingface.co/package.yml

22 lines
422 B
YAML
Raw Normal View History

2023-11-21 23:22:13 +03:00
distributable:
url: https://github.com/huggingface/huggingface_hub/archive/refs/tags/v{{version}}.tar.gz
strip-components: 1
display-name: huggingface/cli
# if theres a github then we can parse the versions
versions:
github: huggingface/huggingface_hub
dependencies:
python.org: ~3.11
build:
python-venv.sh {{prefix}}/bin/huggingface-cli
provides:
- bin/huggingface-cli
test:
huggingface-cli --help