pythonPackages.jupyter-packaging: init at 0.7.12
This commit is contained in:
parent
91fbe357bd
commit
05d45e9fbb
2 changed files with 40 additions and 0 deletions
|
@ -0,0 +1,38 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
, packaging
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "jupyter-packaging";
|
||||
version = "0.7.12";
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-sUAyV3GIGn33t/LRSZe2GQY/51rnVrkCWFLkNGAAu7g=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ packaging ];
|
||||
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
|
||||
preCheck = ''
|
||||
export HOME=$(mktemp -d)
|
||||
'';
|
||||
|
||||
# disable tests depending on network connection
|
||||
disabledTests = [ "test_develop" "test_install" ];
|
||||
|
||||
pythonImportsCheck = [ "jupyter_packaging" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Jupyter Packaging Utilities";
|
||||
homepage = "https://github.com/jupyter/jupyter-packaging";
|
||||
license = licenses.bsd3;
|
||||
maintainers = [ maintainers.elohmeier ];
|
||||
};
|
||||
}
|
|
@ -3562,6 +3562,8 @@ in {
|
|||
|
||||
jupyterlab_server = callPackage ../development/python-modules/jupyterlab_server { };
|
||||
|
||||
jupyter-packaging = callPackage ../development/python-modules/jupyter-packaging { };
|
||||
|
||||
jupyter-repo2docker = callPackage ../development/python-modules/jupyter-repo2docker {
|
||||
pkgs-docker = pkgs.docker;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue