python3Packages.tensorflow-tensorboard: add wheel as runtime dep
The cli requires the wheel package to determine entry points for execution.
This commit is contained in:
parent
ac82d7acbd
commit
7d091ce5ad
@ -1,5 +1,6 @@
|
|||||||
{ stdenv, lib, fetchPypi, buildPythonPackage, isPy3k
|
{ lib, fetchPypi, buildPythonPackage, isPy3k
|
||||||
, numpy
|
, numpy
|
||||||
|
, wheel
|
||||||
, werkzeug
|
, werkzeug
|
||||||
, protobuf
|
, protobuf
|
||||||
, grpcio
|
, grpcio
|
||||||
@ -34,10 +35,29 @@ buildPythonPackage rec {
|
|||||||
werkzeug
|
werkzeug
|
||||||
protobuf
|
protobuf
|
||||||
markdown
|
markdown
|
||||||
grpcio absl-py
|
grpcio
|
||||||
|
absl-py
|
||||||
|
# not declared in install_requires, but used at runtime
|
||||||
|
# https://github.com/NixOS/nixpkgs/issues/73840
|
||||||
|
wheel
|
||||||
] ++ lib.optional (!isPy3k) futures;
|
] ++ lib.optional (!isPy3k) futures;
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
# in the absence of a real test suite, run cli and imports
|
||||||
|
checkPhase = ''
|
||||||
|
$out/bin/tensorboard --help > /dev/null
|
||||||
|
'';
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"tensorboard"
|
||||||
|
"tensorboard.backend"
|
||||||
|
"tensorboard.compat"
|
||||||
|
"tensorboard.data"
|
||||||
|
"tensorboard.plugins"
|
||||||
|
"tensorboard.summary"
|
||||||
|
"tensorboard.util"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
description = "TensorFlow's Visualization Toolkit";
|
description = "TensorFlow's Visualization Toolkit";
|
||||||
homepage = http://tensorflow.org;
|
homepage = http://tensorflow.org;
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
|
Loading…
Reference in New Issue
Block a user