Gaetan Lepage 2024-10-03 23:46:43 +02:00 committed by Gaétan Lepage
parent b68d5076cd
commit a33f10c714

View File

@ -1,7 +1,6 @@
{
lib,
buildPythonPackage,
pythonOlder,
fetchFromGitHub,
# build-system
@ -19,22 +18,18 @@
packaging,
rich,
tensorflow,
pythonAtLeast,
distutils,
}:
buildPythonPackage rec {
pname = "keras";
version = "3.5.0";
version = "3.6.0";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "keras-team";
repo = "keras";
rev = "refs/tags/v${version}";
hash = "sha256-hp+kKsKI2Jmh30/KeUZ+uBW0MG49+QgsyR5yCS63p08=";
hash = "sha256-zbeGa4g2psAofYAVuM7BNWI2gI21e739N5ZtxVfnVUg=";
};
build-system = [
@ -53,7 +48,7 @@ buildPythonPackage rec {
packaging
rich
tensorflow
] ++ lib.optionals (pythonAtLeast "3.12") [ distutils ];
];
pythonImportsCheck = [
"keras"