summary refs log tree commit diff
path: root/pkgs/development/python-modules/keras
diff options
context:
space:
mode:
authorNikolay Amiantov <ab@fmap.me>2017-10-15 18:43:15 +0300
committerNikolay Amiantov <ab@fmap.me>2017-10-16 00:59:51 +0300
commit50ef776bd4c50d768b9f2c30fb4dc1e84c672012 (patch)
treedd579e6354335ce3b42a25da0fd08453bc7b361d /pkgs/development/python-modules/keras
parent19997f01007efe3124219befaf6467c15521706e (diff)
downloadnixpkgs-50ef776bd4c50d768b9f2c30fb4dc1e84c672012.tar
nixpkgs-50ef776bd4c50d768b9f2c30fb4dc1e84c672012.tar.gz
nixpkgs-50ef776bd4c50d768b9f2c30fb4dc1e84c672012.tar.bz2
nixpkgs-50ef776bd4c50d768b9f2c30fb4dc1e84c672012.tar.lz
nixpkgs-50ef776bd4c50d768b9f2c30fb4dc1e84c672012.tar.xz
nixpkgs-50ef776bd4c50d768b9f2c30fb4dc1e84c672012.tar.zst
nixpkgs-50ef776bd4c50d768b9f2c30fb4dc1e84c672012.zip
python.pkgs.Keras: remove default backend
Theano is discontinued. Instead of setting TensorFlow by default let the user
explicitly add preferred backend into environment.
Diffstat (limited to 'pkgs/development/python-modules/keras')
-rw-r--r--pkgs/development/python-modules/keras/default.nix15
1 files changed, 4 insertions, 11 deletions
diff --git a/pkgs/development/python-modules/keras/default.nix b/pkgs/development/python-modules/keras/default.nix
index 1379d93c6dd..877fbe9470d 100644
--- a/pkgs/development/python-modules/keras/default.nix
+++ b/pkgs/development/python-modules/keras/default.nix
@@ -1,13 +1,6 @@
-{ stdenv
-, buildPythonPackage
-, fetchPypi
-, pytest
-, pytestcov
-, pytestpep8
-, pytest_xdist
-, six
-, Theano
-, pyyaml
+{ stdenv, lib, buildPythonPackage, fetchPypi
+, pytest, pytestcov, pytestpep8, pytest_xdist
+, six, numpy, scipy, pyyaml
 }:
 
 buildPythonPackage rec {
@@ -28,7 +21,7 @@ buildPythonPackage rec {
   ];
 
   propagatedBuildInputs = [
-    six Theano pyyaml
+    six pyyaml numpy scipy
   ];
 
   # Couldn't get tests working