Skip to content

Commit

Permalink
tf fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
timokau committed Jun 22, 2019
1 parent 4ca4204 commit 94357aa
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions pkgs/development/python-modules/tensorflow/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
, keras-applications
, astor
, gast
, google-pasta
, termcolor
, cython
, flatbuffers
Expand Down Expand Up @@ -92,6 +93,7 @@ let
cython
flatbuffers
gast
google-pasta
giflib
libjpeg
grpc
Expand Down Expand Up @@ -144,9 +146,9 @@ let
"keras_applications_archive"
"lmdb"
"nasm"
# "nsync"
# "nsync" # not packaged in nixpkgs
"sqlite"
# "pasta"
"pasta"
"pcre"
"png_archive"
"protobuf_archive"
Expand Down Expand Up @@ -249,16 +251,13 @@ in buildPythonPackage rec {
rm $out/bin/tensorboard
'';

postPatch = lib.optionalString (pythonAtLeast "3.4") ''
sed -i '/enum34/d' setup.py
'';

propagatedBuildInputs = [
numpy six protobuf absl-py
keras-preprocessing
keras-applications
astor
gast
google-pasta
termcolor
wrapt
] ++ lib.optional (!isPy3k) mock
Expand Down

0 comments on commit 94357aa

Please sign in to comment.