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

39 lines
777 B
Nix
Raw Normal View History

2017-04-18 11:57:10 +02:00
{ lib
, buildPythonPackage
, fetchPypi
, nose
, isPy27
, mock
, traitlets
, jupyter_core
, jupyter_client
, pygments
, ipykernel
, pyqt5
2020-05-08 05:11:39 -04:00
, qtpy
2017-04-18 11:57:10 +02:00
}:
buildPythonPackage rec {
pname = "qtconsole";
2020-08-28 07:30:11 +00:00
version = "4.7.6";
2017-04-18 11:57:10 +02:00
src = fetchPypi {
inherit pname version;
2020-08-28 07:30:11 +00:00
sha256 = "6c24397c19a49a5cf69582c931db4b0f6b00a78530a2bfd122936f2ebfae2fef";
2017-04-18 11:57:10 +02:00
};
checkInputs = [ nose ] ++ lib.optionals isPy27 [mock];
2020-05-08 05:11:39 -04:00
propagatedBuildInputs = [traitlets jupyter_core jupyter_client pygments ipykernel pyqt5 qtpy];
2017-04-18 11:57:10 +02:00
# : cannot connect to X server
doCheck = false;
meta = {
description = "Jupyter Qt console";
homepage = "https://jupyter.org/";
2017-04-18 11:57:10 +02:00
license = lib.licenses.bsd3;
2018-12-20 16:45:07 -05:00
platforms = lib.platforms.unix;
2017-04-18 11:57:10 +02:00
maintainers = with lib.maintainers; [ fridh ];
};
}