nixpkgs/pkgs/development/python-modules/keras/default.nix

44 lines
760 B
Nix
Raw Normal View History

2017-02-15 11:56:58 +00:00
{ stdenv
, buildPythonPackage
, fetchPypi
, pytest
, pytestcov
, pytestpep8
, pytest_xdist
, six
, Theano
, pyyaml
}:
buildPythonPackage rec {
pname = "Keras";
2017-06-19 12:43:19 +01:00
version = "2.0.5";
2017-02-15 11:56:58 +00:00
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
2017-06-19 12:43:19 +01:00
sha256 = "cbce24758530e070fe1b403d6d21391cbea78c037b70bf6afc1ca9f1f8269eff";
2017-02-15 11:56:58 +00:00
};
checkInputs = [
pytest
pytestcov
pytestpep8
pytest_xdist
];
propagatedBuildInputs = [
six Theano pyyaml
];
# Couldn't get tests working
doCheck = false;
meta = with stdenv.lib; {
description = "Deep Learning library for Theano and TensorFlow";
homepage = "https://keras.io";
license = licenses.mit;
maintainers = with maintainers; [ NikolaMandic ];
};
}