58849dfc4f
GitOrigin-RevId: 21c937f8cb1e6adcfeb36dfd6c90d9d9bfab1d28
35 lines
655 B
Nix
35 lines
655 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, jupyterhub
|
|
, escapism
|
|
, docker
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "dockerspawner";
|
|
version = "12.1.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "3894ed8a9157f8ac8f42e0130f43932490ac5d1e89e6f295b1252f08c00ba36b";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
jupyterhub
|
|
escapism
|
|
docker
|
|
];
|
|
|
|
# tests require docker
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "dockerspawner" ];
|
|
|
|
meta = with lib; {
|
|
description = "Dockerspawner: A custom spawner for Jupyterhub";
|
|
homepage = "https://jupyter.org";
|
|
license = licenses.bsd3;
|
|
maintainers = [ maintainers.costrouc ];
|
|
};
|
|
}
|