File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- { self
2- , lib
3- , python3
4- ,
1+ {
2+ self ,
3+ lib ,
4+ buildPythonApplication ,
5+
6+ # build-system
7+ setuptools ,
8+ pythonRelaxDepsHook ,
9+
10+ # dependencies
11+ fastapi ,
12+ ffmpeg-python ,
13+ openai-whisper ,
14+ python-multipart ,
15+ uvicorn ,
16+
17+ # tests
18+ unittestCheckHook ,
19+ httpx ,
520} :
6- python3 . pkgs . buildPythonApplication {
21+ buildPythonApplication {
722
823 pname = "whisper_api" ;
924
@@ -18,20 +33,20 @@ python3.pkgs.buildPythonApplication {
1833
1934 pythonRelaxDeps = [ ] ;
2035
21- nativeBuildInputs = with python3 . pkgs ; [
36+ nativeBuildInputs = [
2237 setuptools
2338 pythonRelaxDepsHook
2439 ] ;
2540
26- propagatedBuildInputs = with python3 . pkgs ; [
41+ propagatedBuildInputs = [
2742 fastapi
2843 ffmpeg-python
2944 openai-whisper
3045 python-multipart
3146 uvicorn
3247 ] ;
3348
34- nativeCheckInputs = with python3 . pkgs ; [
49+ nativeCheckInputs = [
3550 unittestCheckHook
3651 httpx
3752 ] ;
You can’t perform that action at this time.
0 commit comments