[Backport release-24.11] python312Packages.tensorly: unbreak (incorrect source hash) (#358357)

This commit is contained in:
Weijia Wang 2024-11-23 11:01:35 +01:00 committed by GitHub
commit 801f67cb6c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 ];
};