mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
python3Packages.jupyter-repo2docker: fix build
This commit is contained in:
parent
c27460fc5b
commit
c985dd737e
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user