python3Packages.Keras: rename to keras
This commit is contained in:
parent
7dcd2f54b8
commit
2411e4c1e1
|
@ -1,5 +1,5 @@
|
|||
{ lib, buildPythonPackage, fetchPypi, isPy27, pythonAtLeast
|
||||
, Keras, numpy, scipy, six, tensorflow }:
|
||||
, keras, numpy, scipy, six, tensorflow }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "edward";
|
||||
|
@ -15,7 +15,7 @@ buildPythonPackage rec {
|
|||
# disabled for now due to Tensorflow trying to create files in $HOME:
|
||||
doCheck = false;
|
||||
|
||||
propagatedBuildInputs = [ Keras numpy scipy six tensorflow ];
|
||||
propagatedBuildInputs = [ keras numpy scipy six tensorflow ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Probabilistic programming language using Tensorflow";
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ lib, buildPythonPackage, fetchPypi, numpy, six, scipy, pillow, pytest, Keras }:
|
||||
{ lib, buildPythonPackage, fetchPypi, numpy, six, scipy, pillow, pytest, keras }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "Keras_Preprocessing";
|
||||
|
@ -17,7 +17,7 @@ buildPythonPackage rec {
|
|||
];
|
||||
|
||||
checkInputs = [
|
||||
pytest Keras
|
||||
pytest keras
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "Keras";
|
||||
pname = "keras";
|
||||
version = "2.4.3";
|
||||
|
||||
src = fetchPypi {
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
, h5py
|
||||
, imgaug
|
||||
, ipython
|
||||
, Keras
|
||||
, keras
|
||||
, lib
|
||||
, matplotlib
|
||||
, numpy
|
||||
|
@ -32,7 +32,7 @@ buildPythonPackage rec {
|
|||
h5py
|
||||
imgaug
|
||||
ipython
|
||||
Keras
|
||||
keras
|
||||
matplotlib
|
||||
numpy
|
||||
opencv3
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
, xgboost
|
||||
, mpi4py
|
||||
, lightgbm
|
||||
, Keras
|
||||
, keras
|
||||
, mxnet
|
||||
, scikit-optimize
|
||||
, tensorflow
|
||||
|
@ -49,7 +49,7 @@ buildPythonPackage rec {
|
|||
xgboost
|
||||
mpi4py
|
||||
lightgbm
|
||||
Keras
|
||||
keras
|
||||
mxnet
|
||||
scikit-optimize
|
||||
tensorflow
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
, buildPythonPackage, pythonOlder, python
|
||||
# Python libraries
|
||||
, numpy, tensorflow-tensorboard, absl-py
|
||||
, setuptools, wheel, Keras, keras-preprocessing, google-pasta
|
||||
, setuptools, wheel, keras, keras-preprocessing, google-pasta
|
||||
, opt-einsum, astunparse, h5py
|
||||
, termcolor, grpcio, six, wrapt, protobuf, tensorflow-estimator
|
||||
, dill, flatbuffers-python, tblib, typing-extensions
|
||||
|
@ -479,7 +479,7 @@ in buildPythonPackage {
|
|||
# Actual tests are slow and impure.
|
||||
# TODO try to run them anyway
|
||||
# TODO better test (files in tensorflow/tools/ci_build/builds/*test)
|
||||
checkInputs = [ Keras ];
|
||||
checkInputs = [ keras ];
|
||||
checkPhase = ''
|
||||
${python.interpreter} <<EOF
|
||||
# A simple "Hello world"
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
, pynndescent
|
||||
, tensorflow
|
||||
, pytestCheckHook
|
||||
, Keras
|
||||
, keras
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -35,7 +35,7 @@ buildPythonPackage rec {
|
|||
nose
|
||||
tensorflow
|
||||
pytestCheckHook
|
||||
Keras
|
||||
keras
|
||||
];
|
||||
|
||||
preCheck = ''
|
||||
|
|
|
@ -59,6 +59,7 @@ mapAliases ({
|
|||
hbmqtt = throw "hbmqtt was removed because it is no longer maintained"; # added 2021-11-07
|
||||
IMAPClient = imapclient; # added 2021-10-28
|
||||
jupyter_client = jupyter-client; # added 2021-10-15
|
||||
Keras = keras; # added 2021-11-25
|
||||
lammps-cython = throw "lammps-cython no longer builds and is unmaintained"; # added 2021-07-04
|
||||
MechanicalSoup = mechanicalsoup; # added 2021-06-01
|
||||
pam = python-pam; # added 2020-09-07.
|
||||
|
|
|
@ -4189,7 +4189,7 @@ in {
|
|||
|
||||
keras-applications = callPackage ../development/python-modules/keras-applications { };
|
||||
|
||||
Keras = callPackage ../development/python-modules/keras { };
|
||||
keras = callPackage ../development/python-modules/keras { };
|
||||
|
||||
keras-preprocessing = callPackage ../development/python-modules/keras-preprocessing { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue