python3Packages.jupyter-repo2docker: fix build

This commit is contained in:
Jonathan Ringer 2019-12-09 22:52:35 -08:00 committed by Jon
parent c27460fc5b
commit c985dd737e

View File

@ -1,18 +1,14 @@
{ stdenv { stdenv, buildPythonPackage, fetchPypi, pythonAtLeast
, buildPythonPackage
, fetchPypi
, pkgs-docker
, docker , docker
, traitlets
, python-json-logger
, escapism , escapism
, jinja2 , jinja2
, ruamel_yaml , pkgs-docker
, python-json-logger
, pyyaml , pyyaml
, pytest , ruamel_yaml
, wheel , semver
, pytestcov , toml
, pythonAtLeast , traitlets
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -25,12 +21,28 @@ buildPythonPackage rec {
sha256 = "7965262913be6be60e64c8016f5f3d4bf93701f2787209215859d73b2adbc05a"; sha256 = "7965262913be6be60e64c8016f5f3d4bf93701f2787209215859d73b2adbc05a";
}; };
checkInputs = [ pytest pyyaml wheel pytestcov ]; propagatedBuildInputs = [
propagatedBuildInputs = [ pkgs-docker docker traitlets python-json-logger escapism jinja2 ruamel_yaml ]; docker
escapism
jinja2
pkgs-docker
python-json-logger
ruamel_yaml
semver
toml
traitlets
];
# tests not packaged with pypi release # tests not packaged with pypi release
doCheck = false; doCheck = false;
pythonImportsCheck = [
"repo2docker"
"repo2docker.app"
"repo2docker.utils"
"repo2docker.contentproviders.base"
];
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = https://repo2docker.readthedocs.io/en/latest/; homepage = https://repo2docker.readthedocs.io/en/latest/;
description = "Repo2docker: Turn code repositories into Jupyter enabled Docker Images"; description = "Repo2docker: Turn code repositories into Jupyter enabled Docker Images";