3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/qtconsole/default.nix
2021-04-03 17:49:20 +02:00

39 lines
777 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, nose
, isPy27
, mock
, traitlets
, jupyter_core
, jupyter_client
, pygments
, ipykernel
, pyqt5
, qtpy
}:
buildPythonPackage rec {
pname = "qtconsole";
version = "5.0.3";
src = fetchPypi {
inherit pname version;
sha256 = "c091a35607d2a2432e004c4a112d241ce908086570cf68594176dd52ccaa212d";
};
checkInputs = [ nose ] ++ lib.optionals isPy27 [mock];
propagatedBuildInputs = [traitlets jupyter_core jupyter_client pygments ipykernel pyqt5 qtpy];
# : 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 ];
};
}