Merge pull request #296610 from Stunkymonkey/python-keras-applications-normalize

python312Packages.keras-*: normalize pname
This commit is contained in:
Sandro 2024-03-25 20:18:29 +01:00 committed by GitHub
commit b3f96e0661
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 4 deletions

View File

@ -1,11 +1,12 @@
{ lib, buildPythonPackage, fetchPypi, numpy, h5py }:
buildPythonPackage rec {
pname = "Keras_Applications";
pname = "keras-applications";
version = "1.0.8";
src = fetchPypi {
inherit pname version;
pname = "Keras_Applications";
inherit version;
sha256 = "5579f9a12bcde9748f4a12233925a59b93b73ae6947409ff34aa2ba258189fe5";
};

View File

@ -1,11 +1,12 @@
{ lib, buildPythonPackage, fetchPypi, numpy, six, scipy, pillow, pytest, keras }:
buildPythonPackage rec {
pname = "Keras_Preprocessing";
pname = "keras-preprocessing";
version = "1.1.2";
src = fetchPypi {
inherit pname version;
pname = "Keras_Preprocessing";
inherit version;
sha256 = "add82567c50c8bc648c14195bf544a5ce7c1f76761536956c3d2978970179ef3";
};