pythonPackages.jupyter: refactor move to python-modules
This commit is contained in:
committed by
Frederik Rietdijk
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
|
||||
};
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user