2017-04-18 09:33:59 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, nose
|
2021-07-03 12:37:24 +01:00
|
|
|
, python-dateutil
|
2017-04-18 09:33:59 +01:00
|
|
|
, ipython_genutils
|
|
|
|
, decorator
|
|
|
|
, pyzmq
|
|
|
|
, ipython
|
2021-10-15 11:33:48 +01:00
|
|
|
, jupyter-client
|
2017-04-18 09:33:59 +01:00
|
|
|
, ipykernel
|
2022-02-28 03:24:54 +00:00
|
|
|
, packaging
|
|
|
|
, psutil
|
2017-04-18 09:33:59 +01:00
|
|
|
, tornado
|
2022-02-28 03:24:54 +00:00
|
|
|
, tqdm
|
2017-04-18 09:33:59 +01:00
|
|
|
, isPy3k
|
2021-03-24 16:45:56 +00:00
|
|
|
, futures ? null
|
2017-04-18 09:33:59 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "ipyparallel";
|
2022-04-02 23:54:30 +01:00
|
|
|
version = "8.2.1";
|
2017-04-18 09:33:59 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-04-02 23:54:30 +01:00
|
|
|
sha256 = "sha256-8mdHPFL8aohsa4Fq2xVb7Asne8fSJPs/q+uDg05zPHI=";
|
2017-04-18 09:33:59 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ nose ];
|
|
|
|
|
2022-02-28 03:24:54 +00:00
|
|
|
propagatedBuildInputs = [ python-dateutil ipython_genutils decorator pyzmq ipython jupyter-client ipykernel packaging psutil tornado tqdm
|
2017-04-18 09:33:59 +01:00
|
|
|
] ++ lib.optionals (!isPy3k) [ futures ];
|
|
|
|
|
|
|
|
# Requires access to cluster
|
|
|
|
doCheck = false;
|
|
|
|
|
2020-05-10 08:31:52 +01:00
|
|
|
disabled = !isPy3k;
|
|
|
|
|
2017-04-18 09:33:59 +01:00
|
|
|
meta = {
|
|
|
|
description = "Interactive Parallel Computing with IPython";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://ipython.org/";
|
2017-04-18 09:33:59 +01:00
|
|
|
license = lib.licenses.bsd3;
|
|
|
|
maintainers = with lib.maintainers; [ fridh ];
|
|
|
|
};
|
2020-04-01 02:11:51 +01:00
|
|
|
}
|