Skip to content

Commit

Permalink
tensorboardX: move to python-modules
Browse files Browse the repository at this point in the history
  • Loading branch information
Mic92 committed Jun 13, 2020
1 parent a96108b commit 8f978e3
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,19 @@
{ lib, pkgs, python3Packages, fetchFromGitHub, glibcLocales }:
{ lib, pkgs
, buildPythonPackage
, fetchFromGitHub
, crc32c
, matplotlib
, numpy
, protobuf
, pytest
, pytorch
, boto3
, moto
, visdom
, wget
}:

python3Packages.buildPythonApplication rec {
buildPythonPackage rec {
pname = "tensorboardX";
version = "2.0";

Expand All @@ -11,22 +24,21 @@ python3Packages.buildPythonApplication rec {
sha256 = "0qqalq0fhbx0wnd8wdwhyhkkv2brvj9qbk3373vk3wjxbribf5c7";
};

propagatedBuildInputs = with python3Packages; [
propagatedBuildInputs = [
crc32c
matplotlib
numpy
protobuf
];

checkInputs = with python3Packages; [
checkInputs = [
pytest
pytorch
boto3
moto
] ++ (with pkgs; [
visdom
wget
]);
];

doCheck = false;

Expand All @@ -36,4 +48,3 @@ python3Packages.buildPythonApplication rec {
license = lib.licenses.mit;
};
}

2 changes: 0 additions & 2 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -1293,8 +1293,6 @@ in
then python.pkgs.tensorflow.libtensorflow
else libtensorflow-bin;

tensorboardx = callPackage ../tools/misc/tensorboardx { };

behdad-fonts = callPackage ../data/fonts/behdad-fonts { };

bless = callPackage ../applications/editors/bless { };
Expand Down
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6952,6 +6952,8 @@ in {

tensorflow-tensorboard_2 = callPackage ../development/python-modules/tensorflow-tensorboard/2 { };

tensorboardx = callPackage ../development/python-modules/tensorboardx { };

tensorflow-bin = self.tensorflow-bin_1;

tensorflow-bin_1 = callPackage ../development/python-modules/tensorflow/1/bin.nix {
Expand Down

0 comments on commit 8f978e3

Please sign in to comment.