mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 20:03:16 +00:00
Merge pull request #229334 from kira-bruneau/huggingface-hub
python310Packages.huggingface-hub: 0.12.1 -> 0.14.1
This commit is contained in:
commit
b3220758e0
@ -3,18 +3,18 @@
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, filelock
|
||||
, fsspec
|
||||
, importlib-metadata
|
||||
, packaging
|
||||
, pyyaml
|
||||
, requests
|
||||
, ruamel-yaml
|
||||
, tqdm
|
||||
, typing-extensions
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "huggingface-hub";
|
||||
version = "0.12.1";
|
||||
version = "0.14.1";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
@ -23,15 +23,15 @@ buildPythonPackage rec {
|
||||
owner = "huggingface";
|
||||
repo = "huggingface_hub";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-uw64JnXx790S4snLjANU0aLI3r7AMPec+IQentTZOdU=";
|
||||
hash = "sha256-+BtXi+O+Ef4p4b+8FJCrZFsxX22ZYOPXylexFtsldnA=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
filelock
|
||||
fsspec
|
||||
packaging
|
||||
pyyaml
|
||||
requests
|
||||
ruamel-yaml
|
||||
tqdm
|
||||
typing-extensions
|
||||
] ++ lib.optionals (pythonOlder "3.8") [
|
||||
@ -50,6 +50,6 @@ buildPythonPackage rec {
|
||||
homepage = "https://github.com/huggingface/huggingface_hub";
|
||||
changelog = "https://github.com/huggingface/huggingface_hub/releases/tag/v${version}";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ ];
|
||||
maintainers = with maintainers; [ kira-bruneau ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user