1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-06 10:39:29 +03:00
nixpkgs/pkgs/development/python-modules/keras/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

38 lines
808 B
Nix
Raw Normal View History

{ lib, buildPythonPackage, fetchPypi
, pytest, pytest-cov, pytest-xdist
2018-05-10 10:13:30 +02:00
, six, numpy, scipy, pyyaml, h5py
2018-08-03 11:43:14 +02:00
, keras-applications, keras-preprocessing
2017-02-15 12:56:58 +01:00
}:
buildPythonPackage rec {
2021-11-25 17:22:42 -05:00
pname = "keras";
2022-09-14 23:36:11 +02:00
version = "2.10.0";
2021-11-25 16:43:56 -05:00
format = "wheel";
2017-02-15 12:56:58 +01:00
src = fetchPypi {
2021-11-25 16:43:56 -05:00
inherit format pname version;
2022-09-14 23:36:11 +02:00
sha256 = "sha256-JqbiwlIudGjd6iJxCpmzKQSTdo/AijnnXRFzoONFL98=";
2017-02-15 12:56:58 +01:00
};
checkInputs = [
pytest
pytest-cov
pytest-xdist
2017-02-15 12:56:58 +01:00
];
propagatedBuildInputs = [
2018-05-10 10:13:30 +02:00
six pyyaml numpy scipy h5py
2018-08-03 11:43:14 +02:00
keras-applications keras-preprocessing
2017-02-15 12:56:58 +01:00
];
# Couldn't get tests working
doCheck = false;
meta = with lib; {
2017-02-15 12:56:58 +01:00
description = "Deep Learning library for Theano and TensorFlow";
homepage = "https://keras.io";
2017-02-15 12:56:58 +01:00
license = licenses.mit;
maintainers = with maintainers; [ NikolaMandic ];
};
}