summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorJean-Philippe Bernardy <jeanphilippe.bernardy@gmail.com>2018-06-07 13:30:29 +0200
committerJean-Philippe Bernardy <jeanphilippe.bernardy@gmail.com>2018-06-08 15:38:02 +0200
commit7d02ec9ac6e4788e5a8d679c6615d7d7f0c47e14 (patch)
treefe1f2da517e288d0935f766a72f779e167c1c2bc /pkgs
parent14771710733d904de3849921923a5154d1bd3367 (diff)
downloadnixpkgs-7d02ec9ac6e4788e5a8d679c6615d7d7f0c47e14.tar
nixpkgs-7d02ec9ac6e4788e5a8d679c6615d7d7f0c47e14.tar.gz
nixpkgs-7d02ec9ac6e4788e5a8d679c6615d7d7f0c47e14.tar.bz2
nixpkgs-7d02ec9ac6e4788e5a8d679c6615d7d7f0c47e14.tar.lz
nixpkgs-7d02ec9ac6e4788e5a8d679c6615d7d7f0c47e14.tar.xz
nixpkgs-7d02ec9ac6e4788e5a8d679c6615d7d7f0c47e14.tar.zst
nixpkgs-7d02ec9ac6e4788e5a8d679c6615d7d7f0c47e14.zip
python.packages.tensorflow: add missing dependencies
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/python-modules/tensorflow/bin.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/tensorflow/bin.nix b/pkgs/development/python-modules/tensorflow/bin.nix
index 9c6b84e8c7a..785cff5b8b7 100644
--- a/pkgs/development/python-modules/tensorflow/bin.nix
+++ b/pkgs/development/python-modules/tensorflow/bin.nix
@@ -3,8 +3,11 @@
 , fetchurl
 , buildPythonPackage
 , isPy3k, isPy35, isPy36, pythonOlder
+, astor
+, gast
 , numpy
 , six
+, termcolor
 , protobuf
 , absl-py
 , mock
@@ -47,7 +50,7 @@ in buildPythonPackage rec {
     dls = import ./tf1.7.1-hashes.nix;
   in fetchurl dls.${key};
 
-  propagatedBuildInputs = [ numpy six protobuf absl-py ]
+  propagatedBuildInputs = [ numpy six protobuf absl-py astor gast termcolor ]
                  ++ lib.optional (!isPy3k) mock
                  ++ lib.optionals (pythonOlder "3.4") [ backports_weakref enum34 ]
                  ++ lib.optional (pythonOlder "3.6") tensorflow-tensorboard;