2020-08-20 17:08:02 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, jupyterhub
|
|
|
|
, escapism
|
|
|
|
, docker
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "dockerspawner";
|
2021-08-27 14:25:00 +00:00
|
|
|
version = "12.1.0";
|
2020-08-20 17:08:02 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-08-27 14:25:00 +00:00
|
|
|
sha256 = "3894ed8a9157f8ac8f42e0130f43932490ac5d1e89e6f295b1252f08c00ba36b";
|
2020-08-20 17:08:02 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
jupyterhub
|
|
|
|
escapism
|
|
|
|
docker
|
|
|
|
];
|
|
|
|
|
|
|
|
# tests require docker
|
|
|
|
doCheck = false;
|
|
|
|
|
2020-11-06 00:33:48 +00:00
|
|
|
pythonImportsCheck = [ "dockerspawner" ];
|
2020-08-20 17:08:02 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Dockerspawner: A custom spawner for Jupyterhub";
|
|
|
|
homepage = "https://jupyter.org";
|
|
|
|
license = licenses.bsd3;
|
2023-08-04 22:07:22 +00:00
|
|
|
maintainers = [ ];
|
2020-08-20 17:08:02 +00:00
|
|
|
};
|
|
|
|
}
|