summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/tensorboard-plugin-profile/default.nix
blob: d88ee89165eb5ec50b64dec5d0527550ae7489a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{
  lib,
  fetchPypi,
  buildPythonPackage,
  setuptools,
  gviz-api,
  protobuf,
  werkzeug,
}:

buildPythonPackage rec {
  pname = "tensorboard_plugin_profile";
  version = "2.11.1";
  format = "wheel";

  src = fetchPypi {
    inherit pname version;
    format = "wheel";
    dist = "py3";
    python = "py3";
    hash = "sha256-t9AZg0BGjDcOxtoRBHZO0joIgLHpoKqEUY4pxmw8sjg=";
  };

  nativeBuildInputs = [ setuptools ];

  propagatedBuildInputs = [
    gviz-api
    protobuf
    werkzeug
  ];

  meta = {
    description = "Profile Tensorboard Plugin";
    homepage = "http://tensorflow.org";
    license = lib.licenses.asl20;
    maintainers = with lib.maintainers; [ ndl ];
  };
}