File tree Expand file tree Collapse file tree 2 files changed +54
-0
lines changed
development/python-modules/sotabenchapi Expand file tree Collapse file tree 2 files changed +54
-0
lines changed Original file line number Diff line number Diff line change 1+ {
2+ lib ,
3+ buildPythonPackage ,
4+ fetchPypi ,
5+ setuptools ,
6+ click ,
7+ requests ,
8+ tabulate ,
9+ } :
10+
11+ let
12+ version = "0.0.16" ;
13+ pname = "sotabenchapi" ;
14+ in
15+ buildPythonPackage {
16+ inherit pname version ;
17+ pyproject = true ;
18+
19+ src = fetchPypi {
20+ inherit pname version ;
21+ hash = "sha256-thbVH4aLmEgi8K17PkmbUg4nHqGj+dEiXPDILjvQMzk=" ;
22+ } ;
23+
24+ # requirements.txt is missing in the Pypi archive and this makes the setup.py script fails
25+ postPatch = ''
26+ touch requirements.txt
27+ '' ;
28+
29+ build-system = [
30+ setuptools
31+ ] ;
32+
33+ dependencies = [
34+ click
35+ requests
36+ tabulate
37+ ] ;
38+
39+ pythonImportsCheck = [
40+ "sotabenchapi"
41+ ] ;
42+
43+ # No tests
44+ doCheck = false ;
45+
46+ meta = {
47+ description = "Easily benchmark Machine Learning models on selected tasks and datasets" ;
48+ homepage = "https://pypi.org/project/sotabenchapi/" ;
49+ license = lib . licenses . asl20 ;
50+ maintainers = with lib . maintainers ; [ drupol ] ;
51+ } ;
52+ }
Original file line number Diff line number Diff line change @@ -14649,6 +14649,8 @@ self: super: with self; {
1464914649
1465014650 sortedcontainers = callPackage ../development/python-modules/sortedcontainers { };
1465114651
14652+ sotabenchapi = callPackage ../development/python-modules/sotabenchapi { };
14653+
1465214654 soundcard = callPackage ../development/python-modules/soundcard { };
1465314655
1465414656 soundcloud-v2 = callPackage ../development/python-modules/soundcloud-v2 { };
You can’t perform that action at this time.
0 commit comments