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
38 lines
751 B
Nix
38 lines
751 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, nose
|
|
, isPy27
|
|
, mock
|
|
, traitlets
|
|
, jupyter_core
|
|
, jupyter_client
|
|
, pygments
|
|
, ipykernel
|
|
, pyqt5
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "qtconsole";
|
|
version = "4.4.3";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "1b03n1ixzscm0jw97l4dq5iy4fslnqxq5bb8287xb7n2a1gs26xw";
|
|
};
|
|
|
|
checkInputs = [ nose ] ++ lib.optionals isPy27 [mock];
|
|
propagatedBuildInputs = [traitlets jupyter_core jupyter_client pygments ipykernel pyqt5];
|
|
|
|
# : cannot connect to X server
|
|
doCheck = false;
|
|
|
|
meta = {
|
|
description = "Jupyter Qt console";
|
|
homepage = https://jupyter.org/;
|
|
license = lib.licenses.bsd3;
|
|
platforms = lib.platforms.unix;
|
|
maintainers = with lib.maintainers; [ fridh ];
|
|
};
|
|
}
|