mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 19:33:03 +00:00
[Backport release-24.11] python312Packages.tensorly: unbreak (incorrect source hash) (#358357)
This commit is contained in:
commit
801f67cb6c
@ -6,12 +6,13 @@
|
|||||||
pytestCheckHook,
|
pytestCheckHook,
|
||||||
pythonOlder,
|
pythonOlder,
|
||||||
scipy,
|
scipy,
|
||||||
|
setuptools,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "tensorly";
|
pname = "tensorly";
|
||||||
version = "0.9.0";
|
version = "0.9.0";
|
||||||
format = "setuptools";
|
pyproject = true;
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
@ -19,10 +20,12 @@ buildPythonPackage rec {
|
|||||||
owner = pname;
|
owner = pname;
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "refs/tags/${version}";
|
rev = "refs/tags/${version}";
|
||||||
hash = "sha256-kj32N0hwdI/DS0WwpH4cr3xhq+3X53edodU3/SEorqw=";
|
hash = "sha256-A6Zlp8fa7XFgf4qpg7SEtNLlYSNtDGLuRUEfzD+crQc=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
build-system = [ setuptools ];
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
numpy
|
numpy
|
||||||
scipy
|
scipy
|
||||||
];
|
];
|
||||||
@ -40,6 +43,7 @@ buildPythonPackage rec {
|
|||||||
"tensorly.tenalg"
|
"tensorly.tenalg"
|
||||||
"tensorly.decomposition"
|
"tensorly.decomposition"
|
||||||
"tensorly.regression"
|
"tensorly.regression"
|
||||||
|
"tensorly.solvers"
|
||||||
"tensorly.metrics"
|
"tensorly.metrics"
|
||||||
"tensorly.random"
|
"tensorly.random"
|
||||||
"tensorly.datasets"
|
"tensorly.datasets"
|
||||||
@ -58,6 +62,7 @@ buildPythonPackage rec {
|
|||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Tensor learning in Python";
|
description = "Tensor learning in Python";
|
||||||
homepage = "https://tensorly.org/";
|
homepage = "https://tensorly.org/";
|
||||||
|
changelog = "https://github.com/tensorly/tensorly/releases/tag/${version}";
|
||||||
license = licenses.bsd3;
|
license = licenses.bsd3;
|
||||||
maintainers = with maintainers; [ bcdarwin ];
|
maintainers = with maintainers; [ bcdarwin ];
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user