Merge pull request #145638 from fabaff/fix-jupyter-repo2docker

python3Packages.jupyter-repo2docker: add missing dependencies
This commit is contained in:
Fabian Affolter 2021-11-12 21:22:54 +01:00 committed by GitHub
commit 84a49fca51
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,9 +1,16 @@
{ lib, buildPythonPackage, fetchPypi, pythonOlder { lib
, bash
, buildPythonPackage
, chardet
, docker , docker
, entrypoints
, escapism , escapism
, fetchFromGitHub
, iso8601
, jinja2 , jinja2
, pkgs-docker , pkgs-docker
, python-json-logger , python-json-logger
, pythonOlder
, pyyaml , pyyaml
, ruamel_yaml , ruamel_yaml
, semver , semver
@ -12,18 +19,24 @@
}: }:
buildPythonPackage rec { buildPythonPackage rec {
version = "2021.8.0"; version = "2021.08.0";
pname = "jupyter-repo2docker"; pname = "jupyter-repo2docker";
disabled = pythonOlder "3.4"; format = "setuptools";
src = fetchPypi { disabled = pythonOlder "3.6";
inherit pname version;
sha256 = "9d1b3c3ec7944ea6b0a234d6fa77293a2d1ed1c080eba8466aba94f811b3465d"; src = fetchFromGitHub {
owner = "jupyterhub";
repo = "repo2docker";
rev = version;
sha256 = "10hcdag7ivyqyiqrmr9c48zynp8d81ic3px1ffgnaysih7lvkwb6";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
docker docker
entrypoints
escapism escapism
iso8601
jinja2 jinja2
pkgs-docker pkgs-docker
python-json-logger python-json-logger
@ -33,7 +46,7 @@ buildPythonPackage rec {
traitlets traitlets
]; ];
# tests not packaged with pypi release # Tests require a running Docker instance
doCheck = false; doCheck = false;
pythonImportsCheck = [ pythonImportsCheck = [
@ -44,9 +57,9 @@ buildPythonPackage rec {
]; ];
meta = with lib; { meta = with lib; {
homepage = "https://repo2docker.readthedocs.io/en/latest/"; description = "Turn code repositories into Jupyter enabled Docker Images";
description = "Repo2docker: Turn code repositories into Jupyter enabled Docker Images"; homepage = "https://repo2docker.readthedocs.io/";
license = licenses.bsdOriginal; license = licenses.bsdOriginal;
maintainers = [ maintainers.costrouc ]; maintainers = with maintainers; [ costrouc ];
}; };
} }