python312Packages.notebook: cleanup (#402654)
This commit is contained in:
@@ -3,16 +3,24 @@
|
||||
stdenv,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
|
||||
# nativeBuildInputs
|
||||
nodejs,
|
||||
yarn-berry_3,
|
||||
distutils,
|
||||
|
||||
# build-system
|
||||
hatch-jupyter-builder,
|
||||
hatchling,
|
||||
jupyter-server,
|
||||
jupyterlab,
|
||||
|
||||
# dependencies
|
||||
jupyter-server,
|
||||
jupyterlab-server,
|
||||
notebook-shim,
|
||||
tornado,
|
||||
|
||||
# tests
|
||||
pytest-jupyter,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
@@ -31,13 +39,17 @@ buildPythonPackage rec {
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace "timeout = 300" ""
|
||||
--replace-fail "timeout = 300" ""
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
nodejs
|
||||
yarn-berry_3.yarnBerryConfigHook
|
||||
] ++ lib.optional (stdenv.hostPlatform.system == "aarch64-linux") distutils;
|
||||
nativeBuildInputs =
|
||||
[
|
||||
nodejs
|
||||
yarn-berry_3.yarnBerryConfigHook
|
||||
]
|
||||
++ lib.optionals (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64) [
|
||||
distutils
|
||||
];
|
||||
|
||||
missingHashes = ./missing-hashes.json;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user