summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/livelossplot/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/livelossplot/default.nix')
-rw-r--r--pkgs/development/python-modules/livelossplot/default.nix42
1 files changed, 26 insertions, 16 deletions
diff --git a/pkgs/development/python-modules/livelossplot/default.nix b/pkgs/development/python-modules/livelossplot/default.nix
index 2218c01d6424..5c213fae0db5 100644
--- a/pkgs/development/python-modules/livelossplot/default.nix
+++ b/pkgs/development/python-modules/livelossplot/default.nix
@@ -1,14 +1,15 @@
-{ lib
-, buildPythonPackage
-, fetchFromGitHub
-, pythonOlder
-, pytestCheckHook
-, bokeh
-, ipython
-, matplotlib
-, numpy
-, nbconvert
-, nbformat
+{
+ lib,
+ buildPythonPackage,
+ fetchFromGitHub,
+ pythonOlder,
+ pytestCheckHook,
+ bokeh,
+ ipython,
+ matplotlib,
+ numpy,
+ nbconvert,
+ nbformat,
}:
buildPythonPackage rec {
@@ -19,15 +20,24 @@ buildPythonPackage rec {
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
- owner = "stared";
- repo = pname;
- rev = "v${version}";
+ owner = "stared";
+ repo = pname;
+ rev = "v${version}";
sha256 = "sha256-YU8vX4SubI6txmC/i5fOjcvWfuDFm8+SPmie8Eb1qRs=";
};
- propagatedBuildInputs = [ bokeh ipython matplotlib numpy ];
+ propagatedBuildInputs = [
+ bokeh
+ ipython
+ matplotlib
+ numpy
+ ];
- nativeCheckInputs = [ nbconvert nbformat pytestCheckHook ];
+ nativeCheckInputs = [
+ nbconvert
+ nbformat
+ pytestCheckHook
+ ];
meta = with lib; {
description = "Live training loss plot in Jupyter for Keras, PyTorch, and others";