From 86c5d1d4e66abc3f7a245eeeba09671b049fb141 Mon Sep 17 00:00:00 2001 From: Marc 'risson' Schmitt Date: Tue, 2 Nov 2021 19:07:27 +0100 Subject: [PATCH] python3Packages.huggingface-hub: 0.0.8 -> 0.0.18 Signed-off-by: Marc 'risson' Schmitt --- .../python-modules/huggingface-hub/default.nix | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/huggingface-hub/default.nix b/pkgs/development/python-modules/huggingface-hub/default.nix index d5db12bd2d94..9744a7487300 100644 --- a/pkgs/development/python-modules/huggingface-hub/default.nix +++ b/pkgs/development/python-modules/huggingface-hub/default.nix @@ -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.