python.pkgs.tensorflow-tensorboard: init at 0.1.5

This commit is contained in:
Nikolay Amiantov 2017-09-05 18:12:59 +03:00
parent c27dd88d80
commit 3d11dc7ca2
2 changed files with 45 additions and 0 deletions

View file

@ -0,0 +1,43 @@
{ stdenv
, fetchPypi
, buildPythonPackage
, isPy3k
, bleach_1_5_0
, numpy
, werkzeug
, protobuf
, markdown
}:
# tensorflow is built from a downloaded wheel, because the upstream
# project's build system is an arcane beast based on
# bazel. Untangling it and building the wheel from source is an open
# problem.
buildPythonPackage rec {
pname = "tensorflow-tensorboard";
version = "0.1.5";
name = "${pname}-${version}";
format = "wheel";
src = fetchPypi ({
pname = "tensorflow_tensorboard";
inherit version;
format = "wheel";
} // (if isPy3k then {
python = "py3";
sha256 = "0sfia05y1mzgy371faj96vgzhag1rgpa3gnbz9w1fay13jryw26x";
} else {
python = "py2";
sha256 = "0qx4f55zp54x079kxir4zz5b1ckiglsdcb9afz5wcdj6af4a6czg";
}));
propagatedBuildInputs = [ bleach_1_5_0 numpy werkzeug protobuf markdown ];
meta = with stdenv.lib; {
description = "TensorFlow helps the tensors flow";
homepage = http://tensorflow.org;
license = licenses.asl20;
maintainers = with maintainers; [ abbradar ];
};
}

View file

@ -26085,6 +26085,8 @@ EOF
};
};
tensorflow-tensorboard = callPackage ../development/python-modules/tensorflow-tensorboard { };
tensorflow = self.tensorflowWithoutCuda;
tensorflowWithoutCuda = callPackage ../development/python-modules/tensorflow { };