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

44 lines
748 B
Nix
Raw Normal View History

2017-02-15 12:56:58 +01:00
{ stdenv
, buildPythonPackage
, fetchPypi
, pytest
, pytestcov
, pytestpep8
, pytest_xdist
, six
, Theano
, pyyaml
}:
buildPythonPackage rec {
pname = "Keras";
2017-04-04 09:35:39 +02:00
version = "2.0.3";
2017-02-15 12:56:58 +01:00
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
2017-04-04 09:35:39 +02:00
sha256 = "1x4p179smmnki6mng9n3lsi9glv2jg0y1ls154msplz9jm5bv39r";
2017-02-15 12:56:58 +01: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 ];
};
}