depot/third_party/nixpkgs/pkgs/development/python-modules/dockerspawner/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

41 lines
829 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 = with maintainers; [ ];
};
}