Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / keras / default.nix
blobc7457929622361e76b2b32bdccf58576eb46ea9f
1 { lib, buildPythonPackage, fetchPypi
2 , pytest, pytest-cov, pytest-xdist
3 , six, numpy, scipy, pyyaml, h5py
4 , keras-applications, keras-preprocessing
5 }:
7 buildPythonPackage rec {
8   pname = "keras";
9   version = "3.0.5";
10   format = "wheel";
12   src = fetchPypi {
13     inherit format pname version;
14     hash = "sha256-SgIvLpfqWj2xLtgJ/8t84e+NNP6urFIxXshVPe0tz5c=";
15     python = "py3";
16     dist = "py3";
17   };
19   nativeCheckInputs = [
20     pytest
21     pytest-cov
22     pytest-xdist
23   ];
25   propagatedBuildInputs = [
26     six pyyaml numpy scipy h5py
27     keras-applications keras-preprocessing
28   ];
30   # Couldn't get tests working
31   doCheck = false;
33   meta = with lib; {
34     description = "Deep Learning library for Theano and TensorFlow";
35     homepage = "https://keras.io";
36     license = licenses.mit;
37     maintainers = with maintainers; [ NikolaMandic ];
38   };