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 changed files with 23 additions and 3 deletions
|
@ -1,5 +1,6 @@
|
|||
{ stdenv, lib, fetchPypi, buildPythonPackage, isPy3k
|
||||
{ lib, fetchPypi, buildPythonPackage, isPy3k
|
||||
, numpy
|
||||
, wheel
|
||||
, werkzeug
|
||||
, protobuf
|
||||
, grpcio
|
||||
|
@ -34,10 +35,29 @@ buildPythonPackage rec {
|
|||
werkzeug
|
||||
protobuf
|
||||
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;
|
||||
|
||||
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";
|
||||
homepage = http://tensorflow.org;
|
||||
license = licenses.asl20;
|
||||
|
|
Loading…
Reference in a new issue