python3Packages.huggingface-hub: 0.0.8 -> 0.0.18
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
This commit is contained in:
parent
6ee0c7dcf0
commit
86c5d1d4e6
1 changed files with 9 additions and 2 deletions
|
@ -4,25 +4,32 @@
|
|||
, pythonOlder
|
||||
, filelock
|
||||
, importlib-metadata
|
||||
, packaging
|
||||
, requests
|
||||
, ruamel-yaml
|
||||
, tqdm
|
||||
, typing-extensions
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "huggingface-hub";
|
||||
version = "0.0.6";
|
||||
version = "0.0.18";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "huggingface";
|
||||
repo = "huggingface_hub";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-0DSgWmodeRmvGq2v3n86BzRx5Xdb8fIQh+G/2O2d+yo=";
|
||||
sha256 = "sha256-SxA7rAdKuSrSYFIuxG81lblPJOL69Yx4rBccVrbQa/g=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ packaging ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
filelock
|
||||
requests
|
||||
ruamel-yaml
|
||||
tqdm
|
||||
typing-extensions
|
||||
] ++ lib.optionals (pythonOlder "3.8") [ importlib-metadata ];
|
||||
|
||||
# Tests require network access.
|
||||
|
|
Loading…
Reference in a new issue