8 python3.pkgs.buildPythonApplication rec {
11 disabled = python3.pythonOlder "3.6";
13 src = fetchFromGitHub {
17 sha256 = "YC5T02Sw22Uczufbyts8l99oCQW4lPq0gPMRXCoKsvw=";
20 # Rich + Colorama are added in `propagatedBuildInputs`
22 substituteInPlace setup.py \
23 --replace "awscli>=1.19<2.0" "" \
24 --replace "colorama==0.4.3" "" \
25 --replace "rich>=10.1.0" ""
28 nativeBuildInputs = [ installShellFiles ];
30 propagatedBuildInputs = with python3.pkgs; [
41 # nimbo tests require an AWS instance
43 pythonImportsCheck = [ "nimbo" ];
46 "--prefix" "PATH" ":" (lib.makeBinPath [ awscli ])
50 installShellCompletion --cmd nimbo \
51 --zsh <(_NIMBO_COMPLETE=source_zsh $out/bin/nimbo) \
52 --bash <(_NIMBO_COMPLETE=source_bash $out/bin/nimbo) \
53 --fish <(_NIMBO_COMPLETE=source_fish $out/bin/nimbo)
57 description = "Run machine learning jobs on AWS with a single command";
58 homepage = "https://github.com/nimbo-sh/nimbo";
59 license = licenses.bsl11;
60 maintainers = with maintainers; [ noreferences ];