From c985dd737e2c6ff916357e28edf8fa40747b79f2 Mon Sep 17 00:00:00 2001 From: Jonathan Ringer Date: Mon, 9 Dec 2019 22:52:35 -0800 Subject: [PATCH] python3Packages.jupyter-repo2docker: fix build --- .../jupyter-repo2docker/default.nix | 38 ++++++++++++------- 1 file changed, 25 insertions(+), 13 deletions(-) diff --git a/pkgs/development/python-modules/jupyter-repo2docker/default.nix b/pkgs/development/python-modules/jupyter-repo2docker/default.nix index 0ee4ea17bc78..44c0a3514f57 100644 --- a/pkgs/development/python-modules/jupyter-repo2docker/default.nix +++ b/pkgs/development/python-modules/jupyter-repo2docker/default.nix @@ -1,18 +1,14 @@ -{ stdenv -, buildPythonPackage -, fetchPypi -, pkgs-docker +{ stdenv, buildPythonPackage, fetchPypi, pythonAtLeast , docker -, traitlets -, python-json-logger , escapism , jinja2 -, ruamel_yaml +, pkgs-docker +, python-json-logger , pyyaml -, pytest -, wheel -, pytestcov -, pythonAtLeast +, ruamel_yaml +, semver +, toml +, traitlets }: buildPythonPackage rec { @@ -25,12 +21,28 @@ buildPythonPackage rec { sha256 = "7965262913be6be60e64c8016f5f3d4bf93701f2787209215859d73b2adbc05a"; }; - checkInputs = [ pytest pyyaml wheel pytestcov ]; - propagatedBuildInputs = [ pkgs-docker docker traitlets python-json-logger escapism jinja2 ruamel_yaml ]; + propagatedBuildInputs = [ + docker + escapism + jinja2 + pkgs-docker + python-json-logger + ruamel_yaml + semver + toml + traitlets + ]; # tests not packaged with pypi release doCheck = false; + pythonImportsCheck = [ + "repo2docker" + "repo2docker.app" + "repo2docker.utils" + "repo2docker.contentproviders.base" + ]; + meta = with stdenv.lib; { homepage = https://repo2docker.readthedocs.io/en/latest/; description = "Repo2docker: Turn code repositories into Jupyter enabled Docker Images";