diff --git a/pkgs/development/python-modules/niaaml/default.nix b/pkgs/development/python-modules/niaaml/default.nix index 04d9b221cd39..3202698383aa 100644 --- a/pkgs/development/python-modules/niaaml/default.nix +++ b/pkgs/development/python-modules/niaaml/default.nix @@ -8,7 +8,6 @@ pandas, poetry-core, pytestCheckHook, - pythonOlder, scikit-learn, toml-adapt, typer, @@ -19,8 +18,6 @@ buildPythonPackage rec { version = "2.1.2"; pyproject = true; - disabled = pythonOlder "3.9"; - src = fetchFromGitHub { owner = "firefly-cpp"; repo = "NiaAML"; @@ -31,14 +28,15 @@ buildPythonPackage rec { pythonRelaxDeps = [ "numpy" "pandas" + "typer" ]; - nativeBuildInputs = [ + build-system = [ poetry-core toml-adapt ]; - propagatedBuildInputs = [ + dependencies = [ loguru niapy numpy @@ -60,7 +58,7 @@ buildPythonPackage rec { meta = with lib; { description = "Python automated machine learning framework"; homepage = "https://github.com/firefly-cpp/NiaAML"; - changelog = "https://github.com/firefly-cpp/NiaAML/releases/tag/${version}"; + changelog = "https://github.com/firefly-cpp/NiaAML/releases/tag/${src.tag}"; license = licenses.mit; maintainers = with maintainers; [ firefly-cpp ]; };