diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2023-03-13 10:39:42 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-13 10:39:42 +0100 |
commit | 4140b1fc1d133d832a7dbdd2fb88659b88c1ee4f (patch) | |
tree | f0440cd2c6dfda066a2e0949dc6ef07e83b5541f /pkgs/development | |
parent | 623799dd13c8b10e16504a9102014a1ad2c1b6ab (diff) | |
parent | 0f506896ac1d2da64e6a7002078e51dc9f6890fd (diff) |
Merge pull request #219874 from bcdarwin/fix-python3-evaluate
python310Packages.evaluate: fix `evaluate-cli` and add as mainProgram
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/python-modules/evaluate/default.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/evaluate/default.nix b/pkgs/development/python-modules/evaluate/default.nix index 1ada1243bf726..6412e7834a627 100644 --- a/pkgs/development/python-modules/evaluate/default.nix +++ b/pkgs/development/python-modules/evaluate/default.nix @@ -4,6 +4,7 @@ , pythonOlder , pythonRelaxDepsHook , pytestCheckHook +, cookiecutter , datasets , dill , fsspec @@ -13,6 +14,7 @@ , numpy , packaging , pandas +, pyarrow , requests , responses , tqdm @@ -37,6 +39,7 @@ buildPythonPackage rec { pythonRelaxDeps = [ "responses" ]; propagatedBuildInputs = [ + cookiecutter datasets numpy dill @@ -48,6 +51,7 @@ buildPythonPackage rec { fsspec huggingface-hub packaging + pyarrow responses ] ++ lib.optionals (pythonOlder "3.8") [ importlib-metadata @@ -66,5 +70,6 @@ buildPythonPackage rec { changelog = "https://github.com/huggingface/evaluate/releases/tag/v${version}"; license = licenses.asl20; maintainers = with maintainers; [ bcdarwin ]; + mainProgram = "evaluate-cli"; }; } |