bac4d95aa2
Lots of URLs were HTTP redirect to HTTPS. Changed those and checked them if there's actual content. Inspired by https://github.com/NixOS/nixpkgs/issues/60004
40 lines
718 B
Nix
40 lines
718 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, nose
|
|
, jupyter_client
|
|
, ipython
|
|
, ipykernel
|
|
, prompt_toolkit
|
|
, pygments
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "jupyter_console";
|
|
version = "6.0.0";
|
|
disabled = pythonOlder "3.5";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "308ce876354924fb6c540b41d5d6d08acfc946984bf0c97777c1ddcb42e0b2f5";
|
|
};
|
|
|
|
checkInputs = [ nose ];
|
|
propagatedBuildInputs = [
|
|
jupyter_client
|
|
ipython
|
|
ipykernel
|
|
prompt_toolkit
|
|
pygments
|
|
];
|
|
|
|
# ValueError: underlying buffer has been detached
|
|
doCheck = false;
|
|
|
|
meta = {
|
|
description = "Jupyter terminal console";
|
|
homepage = "https://jupyter.org/";
|
|
license = lib.licenses.bsd3;
|
|
};
|
|
}
|