git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #10706 from datakurre/datakurre-jupyter

jupyter: init at 1.0.0

commitdc39c2dd20f87b65eebb6d3429155cbb71f4a56d authorDomen Kožar <domen@dev.si> dateMon 2 Nov 2015, 19:10 (11 years ago) parentc9ff48b9529b6f
1 file changed+60−2
pkgs/top-level/python-packages.nix+60−2
pkgs/top-level/python-packages.nix+60−2
@@ -523,10 +523,15 @@ let
523523
524524 src = pkgs.fetchurl {
525525 url = "https://pypi.python.org/packages/source/a/appnope/${name}.tar.gz";
526− sha256 = "0wgdwp5v7r4g2bss8vbdxah12hsy2mvzxh3sil9s4iskjbz5z6cb";
526+ sha256 = "8b995ffe925347a2138d7ac0fe77155e4311a0ea6d6da4f5128fe4b3cbe5ed71";
527527 };
528528
529− meta.platforms = platforms.darwin;
529+ meta = {
530+ description = "Disable App Nap on OS X";
531+ homepage = https://pypi.python.org/pypi/appnope;
532+ platforms = platforms.darwin;
533+ license = licenses.bsd3;
534+ };
530535 };
531536
532537 apsw = buildPythonPackage rec {
@@ -4523,6 +4528,55 @@ let
45234528 };
45244529 };
45254530
4531+ jupyter = buildPythonPackage rec {
4532+ version = "1.0.0";
4533+ name = "jupyter-${version}";
4534+
4535+ src = pkgs.fetchurl {
4536+ url = "https://pypi.python.org/packages/source/j/jupyter/${name}.tar.gz";
4537+ sha256 = "d9dc4b3318f310e34c82951ea5d6683f67bed7def4b259fafbfe4f1beb1d8e5f";
4538+ };
4539+
4540+ propagatedBuildInputs = with self; [
4541+ notebook
4542+ qtconsole
4543+ jupyter_console
4544+ nbconvert
4545+ ipykernel
4546+ ipywidgets
4547+ ];
4548+
4549+ meta = {
4550+ description = "Installs all the Jupyter components in one go";
4551+ homepage = "http://jupyter.org/";
4552+ license = licenses.bsd3;
4553+ platforms = platforms.all;
4554+ };
4555+ };
4556+
4557+ jupyter_console = buildPythonPackage rec {
4558+ version = "4.0.3";
4559+ name = "jupyter_console-${version}";
4560+
4561+ src = pkgs.fetchurl {
4562+ url = "https://pypi.python.org/packages/source/j/jupyter_console/${name}.tar.gz";
4563+ sha256 = "555be6963a8f6431fbe1d424c7ffefee90824758058e4c9a2ab3aa045948eb85";
4564+ };
4565+
4566+ propagatedBuildInputs = with self; [
4567+ jupyter_client
4568+ ipython
4569+ ipykernel
4570+ ];
4571+
4572+ meta = {
4573+ description = "Jupyter terminal console";
4574+ homepage = "http://jupyter.org/";
4575+ license = licenses.bsd3;
4576+ platforms = platforms.all;
4577+ };
4578+ };
4579+
45264580 lti = buildPythonPackage rec {
45274581 version = "0.4.0";
45284582 name = "PyLTI-${version}";
@@ -7932,6 +7986,10 @@ let
79327986 sha256 = "2fd276c407fb0b29e5d4884a7029a2c27fef0a06fd7a34924cce69b7cc43f4da";
79337987 };
79347988
7989+ prePatch = stdenv.lib.optionalString stdenv.isDarwin ''
7990+ substituteInPlace setup.py --replace "'gnureadline'" " "
7991+ '';
7992+
79357993 buildInputs = with self; [nose] ++ optionals isPy27 [mock];
79367994
79377995 propagatedBuildInputs = with self;