diff options
author | Jean-Philippe Bernardy <jeanphilippe.bernardy@gmail.com> | 2018-06-07 13:30:29 +0200 |
---|---|---|
committer | Jean-Philippe Bernardy <jeanphilippe.bernardy@gmail.com> | 2018-06-08 15:38:02 +0200 |
commit | 7d02ec9ac6e4788e5a8d679c6615d7d7f0c47e14 (patch) | |
tree | fe1f2da517e288d0935f766a72f779e167c1c2bc /pkgs | |
parent | 14771710733d904de3849921923a5154d1bd3367 (diff) | |
download | nixlib-7d02ec9ac6e4788e5a8d679c6615d7d7f0c47e14.tar nixlib-7d02ec9ac6e4788e5a8d679c6615d7d7f0c47e14.tar.gz nixlib-7d02ec9ac6e4788e5a8d679c6615d7d7f0c47e14.tar.bz2 nixlib-7d02ec9ac6e4788e5a8d679c6615d7d7f0c47e14.tar.lz nixlib-7d02ec9ac6e4788e5a8d679c6615d7d7f0c47e14.tar.xz nixlib-7d02ec9ac6e4788e5a8d679c6615d7d7f0c47e14.tar.zst nixlib-7d02ec9ac6e4788e5a8d679c6615d7d7f0c47e14.zip |
python.packages.tensorflow: add missing dependencies
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/python-modules/tensorflow/bin.nix | 5 |
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 9c6b84e8c7ac..785cff5b8b75 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; |