pythonPackages.jupyter: refactor move to python-modules
This commit is contained in:
parent
af46dbb32e
commit
6102dd1991
34
pkgs/development/python-modules/jupyter/default.nix
Normal file
34
pkgs/development/python-modules/jupyter/default.nix
Normal file
@ -0,0 +1,34 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, notebook
|
||||
, qtconsole
|
||||
, jupyter_console
|
||||
, nbconvert
|
||||
, ipykernel
|
||||
, ipywidgets
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "1.0.0";
|
||||
pname = "jupyter";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "d9dc4b3318f310e34c82951ea5d6683f67bed7def4b259fafbfe4f1beb1d8e5f";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ notebook qtconsole jupyter_console nbconvert ipykernel ipywidgets ];
|
||||
|
||||
# Meta-package, no tests
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Installs all the Jupyter components in one go";
|
||||
homepage = "http://jupyter.org/";
|
||||
license = licenses.bsd3;
|
||||
platforms = platforms.all;
|
||||
priority = 100; # This is a metapackage which is unimportant
|
||||
};
|
||||
|
||||
}
|
@ -1944,37 +1944,11 @@ in {
|
||||
|
||||
libthumbor = callPackage ../development/python-modules/libthumbor { };
|
||||
|
||||
jupyter = buildPythonPackage rec {
|
||||
version = "1.0.0";
|
||||
name = "jupyter-${version}";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/j/jupyter/${name}.tar.gz";
|
||||
sha256 = "d9dc4b3318f310e34c82951ea5d6683f67bed7def4b259fafbfe4f1beb1d8e5f";
|
||||
};
|
||||
lightblue = callPackage ../development/python-modules/lightblue { };
|
||||
|
||||
propagatedBuildInputs = with self; [
|
||||
notebook
|
||||
qtconsole
|
||||
jupyter_console
|
||||
nbconvert
|
||||
ipykernel
|
||||
ipywidgets
|
||||
];
|
||||
lightning = callPackage ../development/python-modules/lightning { };
|
||||
|
||||
# Meta-package, no tests
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "Installs all the Jupyter components in one go";
|
||||
homepage = "http://jupyter.org/";
|
||||
license = licenses.bsd3;
|
||||
platforms = platforms.all;
|
||||
priority = 100; # This is a metapackage which is unimportant
|
||||
};
|
||||
};
|
||||
jupyter = callPackage ../development/python-modules/jupyter { };
|
||||
|
||||
jupyter_console = callPackage ../development/python-modules/jupyter_console { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user