depot/third_party/nixpkgs/pkgs/development/python-modules/dockerspawner/default.nix
Default email 0eaa97ffad Project import generated by Copybara.
GitOrigin-RevId: c59ea8b8a0e7f927e7291c14ea6cd1bd3a16ff38
2020-08-20 19:08:02 +02:00

35 lines
654 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, jupyterhub
, escapism
, docker
}:
buildPythonPackage rec {
pname = "dockerspawner";
version = "0.11.1";
src = fetchPypi {
inherit pname version;
sha256 = "83fd8ee012bb32432cb57bd408ff65534749aed8696648e6ac029a87fc474928";
};
propagatedBuildInputs = [
jupyterhub
escapism
docker
];
# tests require docker
doCheck = false;
pythonImportCheck = [ "dockerspawner" ];
meta = with lib; {
description = "Dockerspawner: A custom spawner for Jupyterhub";
homepage = "https://jupyter.org";
license = licenses.bsd3;
maintainers = [ maintainers.costrouc ];
};
}