nixpkgs/pkgs/development/python-modules/qtconsole/default.nix

38 lines
763 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
, nose
, isPy27
, mock
, traitlets
, jupyter_core
, jupyter_client
, pygments
, ipykernel
, pyqt5
}:
buildPythonPackage rec {
pname = "qtconsole";
2019-12-19 19:31:22 +00:00
version = "4.6.0";
src = fetchPypi {
inherit pname version;
2019-12-19 19:31:22 +00:00
sha256 = "654f423662e7dfe6a9b26fac8ec76aedcf742c339909ac49f1f0c1a1b744bcd1";
};
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 ];
};
}