Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, buildPythonPackage 3, fetchPypi 4, nose 5, jupyter_client 6, ipython 7, ipykernel 8, prompt_toolkit 9, pygments 10, pythonOlder 11}: 12 13buildPythonPackage rec { 14 pname = "jupyter_console"; 15 version = "6.0.0"; 16 disabled = pythonOlder "3.5"; 17 18 src = fetchPypi { 19 inherit pname version; 20 sha256 = "308ce876354924fb6c540b41d5d6d08acfc946984bf0c97777c1ddcb42e0b2f5"; 21 }; 22 23 checkInputs = [ nose ]; 24 propagatedBuildInputs = [ 25 jupyter_client 26 ipython 27 ipykernel 28 prompt_toolkit 29 pygments 30 ]; 31 32 # ValueError: underlying buffer has been detached 33 doCheck = false; 34 35 meta = { 36 description = "Jupyter terminal console"; 37 homepage = "http://jupyter.org/"; 38 license = lib.licenses.bsd3; 39 }; 40}