mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 08:04:14 +00:00
d7ef9a7107
* python36Packages.qtconsole: 4.4.2 -> 4.4.3 (#50590) Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/python3.6-qtconsole/versions * pythonPackages.qtconsole: linux platforms only
38 lines
769 B
Nix
38 lines
769 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";
|
|
};
|
|
|
|
buildInputs = [ 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 = http://jupyter.org/;
|
|
license = lib.licenses.bsd3;
|
|
platforms = lib.platforms.linux; # fails on Darwin
|
|
maintainers = with lib.maintainers; [ fridh ];
|
|
};
|
|
}
|