biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / tf-keras / default.nix
blobc6d9e0c6fdb45cbf3c0e0b2685d31d3128e420d3
2   lib,
3   buildPythonPackage,
4   pythonOlder,
5   fetchPypi,
6   setuptools,
7   wheel,
8   numpy,
9   tensorflow,
10   pytestCheckHook,
13 buildPythonPackage rec {
14   pname = "tf-keras";
15   version = "2.17.0";
16   pyproject = true;
18   disabled = pythonOlder "3.9";
20   src = fetchPypi {
21     pname = "tf_keras";
22     inherit version;
23     hash = "sha256-/al8GNow2g9ypafoDz7uNDsJ9MIG2tbFfJRPss0YVg4=";
24   };
26   nativeBuildInputs = [
27   ];
29   pythonRelaxDeps = [
30     "tensorflow"
31   ];
33   build-system = [
34     setuptools
35     wheel
36   ];
38   dependencies = [
39     numpy
40     tensorflow
41   ];
43   pythonImportsCheck = [ "tf_keras" ];
45   nativeCheckInputs = [ pytestCheckHook ];
47   meta = {
48     description = "Deep learning for humans";
49     homepage = "https://pypi.org/project/tf-keras/";
50     license = lib.licenses.asl20;
51     maintainers = with lib.maintainers; [ GaetanLepage ];
52   };