mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 01:13:05 +00:00
python311Packages.keras: 3.2.1 -> 3.3.3
Changelog: https://github.com/keras-team/keras/releases/tag/v3.3.3
(cherry picked from commit 90c3ce8c5d
)
This commit is contained in:
parent
76a2517d52
commit
9b5c2585f7
@ -1,55 +1,64 @@
|
|||||||
{
|
{
|
||||||
lib,
|
lib,
|
||||||
buildPythonPackage,
|
buildPythonPackage,
|
||||||
fetchPypi,
|
pythonOlder,
|
||||||
pytest,
|
fetchFromGitHub,
|
||||||
pytest-cov,
|
setuptools,
|
||||||
pytest-xdist,
|
absl-py,
|
||||||
six,
|
dm-tree,
|
||||||
numpy,
|
|
||||||
scipy,
|
|
||||||
pyyaml,
|
|
||||||
h5py,
|
h5py,
|
||||||
|
markdown-it-py,
|
||||||
|
ml-dtypes,
|
||||||
|
namex,
|
||||||
|
numpy,
|
||||||
optree,
|
optree,
|
||||||
keras-applications,
|
rich,
|
||||||
keras-preprocessing,
|
tensorflow,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "keras";
|
pname = "keras";
|
||||||
version = "3.2.1";
|
version = "3.3.3";
|
||||||
format = "wheel";
|
pyproject = true;
|
||||||
|
|
||||||
src = fetchPypi {
|
disabled = pythonOlder "3.9";
|
||||||
inherit format pname version;
|
|
||||||
hash = "sha256-C+HomwQeaXvlYthCLsuVjuVIGs/AiZEyAJJsVh0ligM=";
|
src = fetchFromGitHub {
|
||||||
python = "py3";
|
owner = "keras-team";
|
||||||
dist = "py3";
|
repo = "keras";
|
||||||
|
rev = "refs/tags/v${version}";
|
||||||
|
hash = "sha256-hhY28Ocv4zacZiwFflJtufKpeKfH1MD1PZJ+NTJfpH0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeCheckInputs = [
|
build-system = [
|
||||||
pytest
|
setuptools
|
||||||
pytest-cov
|
|
||||||
pytest-xdist
|
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
dependencies = [
|
||||||
six
|
absl-py
|
||||||
pyyaml
|
dm-tree
|
||||||
numpy
|
|
||||||
scipy
|
|
||||||
h5py
|
h5py
|
||||||
keras-applications
|
markdown-it-py
|
||||||
keras-preprocessing
|
ml-dtypes
|
||||||
|
namex
|
||||||
|
numpy
|
||||||
|
optree
|
||||||
|
rich
|
||||||
|
tensorflow
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"keras"
|
||||||
|
"keras._tf_keras"
|
||||||
];
|
];
|
||||||
|
|
||||||
# Couldn't get tests working
|
# Couldn't get tests working
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = {
|
||||||
description = "Deep Learning library for Theano and TensorFlow";
|
description = "Multi-backend implementation of the Keras API, with support for TensorFlow, JAX, and PyTorch";
|
||||||
homepage = "https://keras.io";
|
homepage = "https://keras.io";
|
||||||
license = licenses.mit;
|
license = lib.licenses.mit;
|
||||||
maintainers = with maintainers; [ NikolaMandic ];
|
maintainers = with lib.maintainers; [ NikolaMandic ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user