diff --git a/pkgs/development/python-modules/tensorly/default.nix b/pkgs/development/python-modules/tensorly/default.nix index 245791e71cd9..c36c540d5b3b 100644 --- a/pkgs/development/python-modules/tensorly/default.nix +++ b/pkgs/development/python-modules/tensorly/default.nix @@ -6,12 +6,13 @@ pytestCheckHook, pythonOlder, scipy, + setuptools, }: buildPythonPackage rec { pname = "tensorly"; version = "0.9.0"; - format = "setuptools"; + pyproject = true; disabled = pythonOlder "3.7"; @@ -19,10 +20,12 @@ buildPythonPackage rec { owner = pname; repo = pname; rev = "refs/tags/${version}"; - hash = "sha256-kj32N0hwdI/DS0WwpH4cr3xhq+3X53edodU3/SEorqw="; + hash = "sha256-A6Zlp8fa7XFgf4qpg7SEtNLlYSNtDGLuRUEfzD+crQc="; }; - propagatedBuildInputs = [ + build-system = [ setuptools ]; + + dependencies = [ numpy scipy ]; @@ -40,6 +43,7 @@ buildPythonPackage rec { "tensorly.tenalg" "tensorly.decomposition" "tensorly.regression" + "tensorly.solvers" "tensorly.metrics" "tensorly.random" "tensorly.datasets" @@ -58,6 +62,7 @@ buildPythonPackage rec { meta = with lib; { description = "Tensor learning in Python"; homepage = "https://tensorly.org/"; + changelog = "https://github.com/tensorly/tensorly/releases/tag/${version}"; license = licenses.bsd3; maintainers = with maintainers; [ bcdarwin ]; };