depot/third_party/nixpkgs/pkgs/development/python-modules/dockerspawner/default.nix
Default email 58849dfc4f Project import generated by Copybara.
GitOrigin-RevId: 21c937f8cb1e6adcfeb36dfd6c90d9d9bfab1d28
2021-08-27 16:25:00 +02:00

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 ];
};
}