mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
5356420466
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \ -e 's!with lib.maintainers; \[ *\];![ ];!' \ -e 's!with maintainers; \[ *\];![ ];!'
42 lines
811 B
Nix
42 lines
811 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
setuptools,
|
|
jupyterhub,
|
|
escapism,
|
|
docker,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "dockerspawner";
|
|
version = "13.0.0";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-POlTZ9luS9wQ/vt9w8VMfTEqGzg/DhfB45ePfvnyito=";
|
|
};
|
|
|
|
nativeBuildInputs = [ setuptools ];
|
|
|
|
propagatedBuildInputs = [
|
|
jupyterhub
|
|
escapism
|
|
docker
|
|
];
|
|
|
|
# tests require docker
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "dockerspawner" ];
|
|
|
|
meta = with lib; {
|
|
description = "Custom spawner for Jupyterhub";
|
|
homepage = "https://github.com/jupyterhub/dockerspawner";
|
|
changelog = "https://github.com/jupyterhub/dockerspawner/blob/${version}/docs/source/changelog.md";
|
|
license = licenses.bsd3;
|
|
maintainers = [ ];
|
|
};
|
|
}
|