summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/jupyter-sphinx/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/jupyter-sphinx/default.nix')
-rw-r--r--pkgs/development/python-modules/jupyter-sphinx/default.nix37
1 files changed, 16 insertions, 21 deletions
diff --git a/pkgs/development/python-modules/jupyter-sphinx/default.nix b/pkgs/development/python-modules/jupyter-sphinx/default.nix
index 9fb30b5e143e..7d43784db6bd 100644
--- a/pkgs/development/python-modules/jupyter-sphinx/default.nix
+++ b/pkgs/development/python-modules/jupyter-sphinx/default.nix
@@ -1,15 +1,16 @@
-{ lib
-, buildPythonPackage
-, fetchFromGitHub
-, hatchling
-, ipykernel
-, ipython
-, ipywidgets
-, nbconvert
-, nbformat
-, pythonOlder
-, sphinx
-, pytestCheckHook
+{
+ lib,
+ buildPythonPackage,
+ fetchFromGitHub,
+ hatchling,
+ ipykernel,
+ ipython,
+ ipywidgets,
+ nbconvert,
+ nbformat,
+ pythonOlder,
+ sphinx,
+ pytestCheckHook,
}:
buildPythonPackage rec {
@@ -26,9 +27,7 @@ buildPythonPackage rec {
hash = "sha256-o/i3WravKZPf7uw2H4SVYfAyaZGf19ZJlkmeHCWcGtE=";
};
- nativeBuildInputs = [
- hatchling
- ];
+ nativeBuildInputs = [ hatchling ];
propagatedBuildInputs = [
ipykernel
@@ -39,15 +38,11 @@ buildPythonPackage rec {
sphinx
];
- pythonImportsCheck = [
- "jupyter_sphinx"
- ];
+ pythonImportsCheck = [ "jupyter_sphinx" ];
env.JUPYTER_PLATFORM_DIRS = 1;
- nativeCheckInputs = [
- pytestCheckHook
- ];
+ nativeCheckInputs = [ pytestCheckHook ];
preCheck = ''
export HOME=$TMPDIR