python310Packages.ipyparallel: adjust input and build system

This commit is contained in:
Fabian Affolter 2022-08-21 17:13:29 +02:00
parent 796a267784
commit 1a23c871f3

View File

@ -1,45 +1,66 @@
{ lib
, buildPythonPackage
, fetchPypi
, nose
, python-dateutil
, ipython_genutils
, decorator
, pyzmq
, ipython
, jupyter-client
, entrypoints
, fetchPypi
, hatchling
, ipykernel
, ipython
, ipython_genutils
, jupyter-client
, packaging
, psutil
, python-dateutil
, pythonOlder
, pyzmq
, tornado
, tqdm
, isPy3k
, futures ? null
, traitlets
}:
buildPythonPackage rec {
pname = "ipyparallel";
version = "8.4.1";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-Zwu+BXVTgXQuHqARd9xCj/jz6Urx8NVkLJ0Z83yoKJs=";
hash = "sha256-Zwu+BXVTgXQuHqARd9xCj/jz6Urx8NVkLJ0Z83yoKJs=";
};
buildInputs = [ nose ];
nativeBuildInputs = [
hatchling
];
propagatedBuildInputs = [ python-dateutil ipython_genutils decorator pyzmq ipython jupyter-client ipykernel packaging psutil tornado tqdm
] ++ lib.optionals (!isPy3k) [ futures ];
propagatedBuildInputs = [
decorator
entrypoints
ipykernel
ipython
ipython_genutils
jupyter-client
packaging
psutil
python-dateutil
pyzmq
tornado
tqdm
traitlets
];
# Requires access to cluster
doCheck = false;
disabled = !isPy3k;
pythonImportsCheck = [
"ipyparallel"
];
meta = {
meta = with lib;{
description = "Interactive Parallel Computing with IPython";
homepage = "http://ipython.org/";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ fridh ];
homepage = "https://ipyparallel.readthedocs.io/";
license = licenses.bsd3;
maintainers = with maintainers; [ fridh ];
};
}