-
-
Notifications
You must be signed in to change notification settings - Fork 12.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nimbo: make python3 version agnostic nimbo: run nixfmt nimbo: move out of python-modules and package as application nimbo: switch to buildPythonApplication from buildPythonPackage Update pkgs/applications/misc/nimbo/default.nix Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
- Loading branch information
1 parent
ab22d96
commit cefc7af
Showing
2 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ lib, setuptools, boto3, requests, click, pyyaml, pydantic, buildPythonApplication | ||
, pythonOlder, fetchFromGitHub, awscli }: | ||
|
||
buildPythonApplication rec { | ||
pname = "nimbo"; | ||
version = "0.2.4"; | ||
disabled = pythonOlder "3.6"; | ||
|
||
src = fetchFromGitHub { | ||
owner = "nimbo-sh"; | ||
repo = pname; | ||
rev = "v${version}"; | ||
sha256 = "1fs28s9ynfxrb4rzba6cmik0kl0q0vkpb4zdappsq62jqf960k24"; | ||
}; | ||
|
||
propagatedBuildInputs = [ setuptools boto3 awscli requests click pyyaml pydantic ]; | ||
|
||
# nimbo tests require an AWS instance | ||
doCheck = false; | ||
pythonImportsCheck = [ "nimbo" ]; | ||
|
||
meta = with lib; { | ||
description = "Run machine learning jobs on AWS with a single command"; | ||
homepage = "https://github.com/nimbo-sh/nimbo"; | ||
license = licenses.bsl11; | ||
maintainers = with maintainers; [ alex-eyre noreferences ]; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters