nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix

python310Packages.ipyparallel: adjust input and build system

+39 -18
+39 -18
pkgs/development/python-modules/ipyparallel/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 - , fetchPypi 4 - , nose 5 - , python-dateutil 6 - , ipython_genutils 7 3 , decorator 8 - , pyzmq 9 - , ipython 10 - , jupyter-client 4 + , entrypoints 5 + , fetchPypi 6 + , hatchling 11 7 , ipykernel 8 + , ipython 9 + , ipython_genutils 10 + , jupyter-client 12 11 , packaging 13 12 , psutil 13 + , python-dateutil 14 + , pythonOlder 15 + , pyzmq 14 16 , tornado 15 17 , tqdm 16 - , isPy3k 17 - , futures ? null 18 + , traitlets 18 19 }: 19 20 20 21 buildPythonPackage rec { 21 22 pname = "ipyparallel"; 22 23 version = "8.4.1"; 24 + format = "pyproject"; 25 + 26 + disabled = pythonOlder "3.7"; 23 27 24 28 src = fetchPypi { 25 29 inherit pname version; 26 - sha256 = "sha256-Zwu+BXVTgXQuHqARd9xCj/jz6Urx8NVkLJ0Z83yoKJs="; 30 + hash = "sha256-Zwu+BXVTgXQuHqARd9xCj/jz6Urx8NVkLJ0Z83yoKJs="; 27 31 }; 28 32 29 - buildInputs = [ nose ]; 33 + nativeBuildInputs = [ 34 + hatchling 35 + ]; 30 36 31 - propagatedBuildInputs = [ python-dateutil ipython_genutils decorator pyzmq ipython jupyter-client ipykernel packaging psutil tornado tqdm 32 - ] ++ lib.optionals (!isPy3k) [ futures ]; 37 + propagatedBuildInputs = [ 38 + decorator 39 + entrypoints 40 + ipykernel 41 + ipython 42 + ipython_genutils 43 + jupyter-client 44 + packaging 45 + psutil 46 + python-dateutil 47 + pyzmq 48 + tornado 49 + tqdm 50 + traitlets 51 + ]; 33 52 34 53 # Requires access to cluster 35 54 doCheck = false; 36 55 37 - disabled = !isPy3k; 56 + pythonImportsCheck = [ 57 + "ipyparallel" 58 + ]; 38 59 39 - meta = { 60 + meta = with lib;{ 40 61 description = "Interactive Parallel Computing with IPython"; 41 - homepage = "http://ipython.org/"; 42 - license = lib.licenses.bsd3; 43 - maintainers = with lib.maintainers; [ fridh ]; 62 + homepage = "https://ipyparallel.readthedocs.io/"; 63 + license = licenses.bsd3; 64 + maintainers = with maintainers; [ fridh ]; 44 65 }; 45 66 }