python3Packages.qutip: Pass ipython into checkInputs

and expose ipython extra.
This commit is contained in:
Martin Weinelt 2023-01-03 18:34:00 +01:00
parent b86abf8880
commit 4fbd48d2dc

View file

@ -6,6 +6,7 @@
, cython
, doCheck ? true
, fetchFromGitHub
, ipython
, matplotlib
, numpy
, packaging
@ -43,7 +44,7 @@ buildPythonPackage rec {
checkInputs = [
pytestCheckHook
pytest-rerunfailures
] ++ passthru.optional-dependencies.graphics;
] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies);
# Disabling OpenMP support on Darwin.
setupPyGlobalFlags = lib.optionals (!stdenv.isDarwin) [
@ -75,6 +76,9 @@ buildPythonPackage rec {
graphics = [
matplotlib
];
ipython = [
ipython
];
semidefinite = [
cvxpy
cvxopt