python312Packages.sotabenchapi: init at 0.0.16
Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com>
This commit is contained in:
co-authored by
Gaétan Lepage
parent
cf5c8c3369
commit
3add64b034
@@ -0,0 +1,52 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
setuptools,
|
||||
click,
|
||||
requests,
|
||||
tabulate,
|
||||
}:
|
||||
|
||||
let
|
||||
version = "0.0.16";
|
||||
pname = "sotabenchapi";
|
||||
in
|
||||
buildPythonPackage {
|
||||
inherit pname version;
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-thbVH4aLmEgi8K17PkmbUg4nHqGj+dEiXPDILjvQMzk=";
|
||||
};
|
||||
|
||||
# requirements.txt is missing in the Pypi archive and this makes the setup.py script fails
|
||||
postPatch = ''
|
||||
touch requirements.txt
|
||||
'';
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
click
|
||||
requests
|
||||
tabulate
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"sotabenchapi"
|
||||
];
|
||||
|
||||
# No tests
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "Easily benchmark Machine Learning models on selected tasks and datasets";
|
||||
homepage = "https://pypi.org/project/sotabenchapi/";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ drupol ];
|
||||
};
|
||||
}
|
||||
@@ -14649,6 +14649,8 @@ self: super: with self; {
|
||||
|
||||
sortedcontainers = callPackage ../development/python-modules/sortedcontainers { };
|
||||
|
||||
sotabenchapi = callPackage ../development/python-modules/sotabenchapi { };
|
||||
|
||||
soundcard = callPackage ../development/python-modules/soundcard { };
|
||||
|
||||
soundcloud-v2 = callPackage ../development/python-modules/soundcloud-v2 { };
|
||||
|
||||
Reference in New Issue
Block a user