pythonPackages.jupyter-repo2docker: init at 0.6.0

This commit is contained in:
Chris Ostrouchov 2018-09-14 16:05:48 -04:00 committed by Frederik Rietdijk
parent fbcb547a90
commit e21f98dfd8
2 changed files with 44 additions and 0 deletions

View File

@ -0,0 +1,40 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, pkgs-docker
, docker
, traitlets
, python-json-logger
, escapism
, jinja2
, ruamel_yaml
, pyyaml
, pytest
, wheel
, pytestcov
, pythonAtLeast
}:
buildPythonPackage rec {
version = "0.6.0";
pname = "jupyter-repo2docker";
disabled = !(pythonAtLeast "3.4");
src = fetchPypi {
inherit pname version;
sha256 = "32c6dc6fd2402d6f5a955f8ab59299097bb5f4972c7dcc6fe2a8fe4c96dcab27";
};
checkInputs = [ pytest pyyaml wheel pytestcov ];
propagatedBuildInputs = [ pkgs-docker docker traitlets python-json-logger escapism jinja2 ruamel_yaml ];
# tests not packaged with pypi release
doCheck = false;
meta = with stdenv.lib; {
homepage = https://repo2docker.readthedocs.io/en/latest/;
description = "Repo2docker: Turn code repositories into Jupyter enabled Docker Images";
license = licenses.bsdOriginal;
maintainers = [ maintainers.costrouc ];
};
}

View File

@ -6320,6 +6320,10 @@ in {
jupyter_core = callPackage ../development/python-modules/jupyter_core { };
jupyter-repo2docker = callPackage ../development/python-modules/jupyter-repo2docker {
pkgs-docker = pkgs.docker;
};
jupyterhub = callPackage ../development/python-modules/jupyterhub { };
jupyterhub-ldapauthenticator = callPackage ../development/python-modules/jupyterhub-ldapauthenticator { };