2020-04-24 23:36:52 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, decorator
|
2022-09-09 14:08:57 +00:00
|
|
|
, entrypoints
|
|
|
|
, fetchPypi
|
|
|
|
, hatchling
|
|
|
|
, ipykernel
|
2020-04-24 23:36:52 +00:00
|
|
|
, ipython
|
2022-09-09 14:08:57 +00:00
|
|
|
, ipython_genutils
|
2021-10-28 06:52:43 +00:00
|
|
|
, jupyter-client
|
2022-03-05 16:20:37 +00:00
|
|
|
, packaging
|
|
|
|
, psutil
|
2022-09-09 14:08:57 +00:00
|
|
|
, python-dateutil
|
|
|
|
, pythonOlder
|
|
|
|
, pyzmq
|
2020-04-24 23:36:52 +00:00
|
|
|
, tornado
|
2022-03-05 16:20:37 +00:00
|
|
|
, tqdm
|
2022-09-09 14:08:57 +00:00
|
|
|
, traitlets
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "ipyparallel";
|
2022-08-12 12:06:08 +00:00
|
|
|
version = "8.4.1";
|
2022-09-09 14:08:57 +00:00
|
|
|
format = "pyproject";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-09-09 14:08:57 +00:00
|
|
|
hash = "sha256-Zwu+BXVTgXQuHqARd9xCj/jz6Urx8NVkLJ0Z83yoKJs=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2022-09-09 14:08:57 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
hatchling
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-09-09 14:08:57 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
decorator
|
|
|
|
entrypoints
|
|
|
|
ipykernel
|
|
|
|
ipython
|
|
|
|
ipython_genutils
|
|
|
|
jupyter-client
|
|
|
|
packaging
|
|
|
|
psutil
|
|
|
|
python-dateutil
|
|
|
|
pyzmq
|
|
|
|
tornado
|
|
|
|
tqdm
|
|
|
|
traitlets
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
# Requires access to cluster
|
|
|
|
doCheck = false;
|
|
|
|
|
2022-09-09 14:08:57 +00:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"ipyparallel"
|
|
|
|
];
|
2020-06-02 18:00:15 +00:00
|
|
|
|
2022-09-09 14:08:57 +00:00
|
|
|
meta = with lib;{
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Interactive Parallel Computing with IPython";
|
2022-09-09 14:08:57 +00:00
|
|
|
homepage = "https://ipyparallel.readthedocs.io/";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ fridh ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|