diff options
Diffstat (limited to 'pkgs/development/python-modules/niaaml/default.nix')
-rw-r--r-- | pkgs/development/python-modules/niaaml/default.nix | 51 |
1 files changed, 24 insertions, 27 deletions
diff --git a/pkgs/development/python-modules/niaaml/default.nix b/pkgs/development/python-modules/niaaml/default.nix index 855908721490..e457b9c79b4c 100644 --- a/pkgs/development/python-modules/niaaml/default.nix +++ b/pkgs/development/python-modules/niaaml/default.nix @@ -1,46 +1,47 @@ -{ lib -, buildPythonPackage -, fetchFromGitHub -, niapy -, numpy -, pandas -, poetry-core -, pytestCheckHook -, pythonOlder -, pythonRelaxDepsHook -, scikit-learn -, toml-adapt +{ + lib, + buildPythonPackage, + fetchFromGitHub, + loguru, + niapy, + numpy, + pandas, + poetry-core, + pytestCheckHook, + pythonOlder, + scikit-learn, + toml-adapt, + typer, }: buildPythonPackage rec { pname = "niaaml"; - version = "1.2.0"; + version = "2.1.0"; pyproject = true; disabled = pythonOlder "3.9"; src = fetchFromGitHub { - owner = "lukapecnik"; + owner = "firefly-cpp"; repo = "NiaAML"; rev = "refs/tags/${version}"; - hash = "sha256-jGbsxYlRJ81g74LqSKpquciPsLP+KSoNBTJPEaD/CHM="; + hash = "sha256-VMZLEirE01Q9eyQIhV18PepGWmBcxLIwNeuVf7EuSWE="; }; - pythonRelaxDeps = [ - "pandas" - ]; + pythonRelaxDeps = [ "pandas" ]; nativeBuildInputs = [ poetry-core - pythonRelaxDepsHook toml-adapt ]; propagatedBuildInputs = [ + loguru niapy numpy pandas scikit-learn + typer ]; # create scikit-learn and niapy deps version consistent @@ -49,18 +50,14 @@ buildPythonPackage rec { toml-adapt -path pyproject.toml -a change -dep niapy -ver X ''; - nativeCheckInputs = [ - pytestCheckHook - ]; + nativeCheckInputs = [ pytestCheckHook ]; - pythonImportsCheck = [ - "niaaml" - ]; + pythonImportsCheck = [ "niaaml" ]; meta = with lib; { description = "Python automated machine learning framework"; - homepage = "https://github.com/lukapecnik/NiaAML"; - changelog = "https://github.com/lukapecnik/NiaAML/releases/tag/${version}"; + homepage = "https://github.com/firefly-cpp/NiaAML"; + changelog = "https://github.com/firefly-cpp/NiaAML/releases/tag/${version}"; license = licenses.mit; maintainers = with maintainers; [ firefly-cpp ]; }; |