python3Packages.batchspawner: cleanup, fix on darwin
This commit is contained in:
@@ -16,15 +16,16 @@
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "batchspawner";
|
||||
version = "1.3.0";
|
||||
pyproject = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jupyterhub";
|
||||
repo = "batchspawner";
|
||||
tag = "v${version}";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-Z7kB8b7s11wokTachLI/N+bdUV+FfCRTemL1KYQpzio=";
|
||||
};
|
||||
|
||||
@@ -54,12 +55,14 @@ buildPythonPackage rec {
|
||||
|
||||
pythonImportsCheck = [ "batchspawner" ];
|
||||
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
meta = {
|
||||
description = "Spawner for Jupyterhub to spawn notebooks using batch resource managers";
|
||||
mainProgram = "batchspawner-singleuser";
|
||||
homepage = "https://github.com/jupyterhub/batchspawner";
|
||||
changelog = "https://github.com/jupyterhub/batchspawner/blob/v${version}/CHANGELOG.md";
|
||||
changelog = "https://github.com/jupyterhub/batchspawner/blob/${finalAttrs.src.tag}/CHANGELOG.md";
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = [ ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user