lol

python3Packages.huggingface-hub: 0.0.8 -> 0.0.18

Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>

authored by

Marc 'risson' Schmitt and committed by
Jonathan Ringer
86c5d1d4 6ee0c7dc

+9 -2
+9 -2
pkgs/development/python-modules/huggingface-hub/default.nix
··· 4 , pythonOlder 5 , filelock 6 , importlib-metadata 7 , requests 8 , tqdm 9 }: 10 11 buildPythonPackage rec { 12 pname = "huggingface-hub"; 13 - version = "0.0.6"; 14 15 src = fetchFromGitHub { 16 owner = "huggingface"; 17 repo = "huggingface_hub"; 18 rev = "v${version}"; 19 - hash = "sha256-0DSgWmodeRmvGq2v3n86BzRx5Xdb8fIQh+G/2O2d+yo="; 20 }; 21 22 propagatedBuildInputs = [ 23 filelock 24 requests 25 tqdm 26 ] ++ lib.optionals (pythonOlder "3.8") [ importlib-metadata ]; 27 28 # Tests require network access.
··· 4 , pythonOlder 5 , filelock 6 , importlib-metadata 7 + , packaging 8 , requests 9 + , ruamel-yaml 10 , tqdm 11 + , typing-extensions 12 }: 13 14 buildPythonPackage rec { 15 pname = "huggingface-hub"; 16 + version = "0.0.18"; 17 18 src = fetchFromGitHub { 19 owner = "huggingface"; 20 repo = "huggingface_hub"; 21 rev = "v${version}"; 22 + sha256 = "sha256-SxA7rAdKuSrSYFIuxG81lblPJOL69Yx4rBccVrbQa/g="; 23 }; 24 + 25 + nativeBuildInputs = [ packaging ]; 26 27 propagatedBuildInputs = [ 28 filelock 29 requests 30 + ruamel-yaml 31 tqdm 32 + typing-extensions 33 ] ++ lib.optionals (pythonOlder "3.8") [ importlib-metadata ]; 34 35 # Tests require network access.