depot/third_party/nixpkgs/pkgs/development/python-modules/dockerspawner/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

39 lines
783 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, jupyterhub
, escapism
, docker
}:
buildPythonPackage rec {
pname = "dockerspawner";
version = "13.0.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-POlTZ9luS9wQ/vt9w8VMfTEqGzg/DhfB45ePfvnyito=";
};
propagatedBuildInputs = [
jupyterhub
escapism
docker
];
# tests require docker
doCheck = false;
pythonImportsCheck = [
"dockerspawner"
];
meta = with lib; {
description = "A 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; [ ];
};
}