python312Packages.para: modernize

This commit is contained in:
Pyrox
2024-07-27 12:50:20 -04:00
parent c2c2740947
commit 34b82689e3
@@ -3,28 +3,29 @@
buildPythonPackage,
fetchPypi,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "para";
version = "0.0.8";
format = "setuptools";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-RsMjKunY6p2IbP0IzdESiSICvthkX0C2JVWXukz+8hc=";
};
nativeCheckInputs = [
pytestCheckHook
];
build-system = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "para" ];
meta = with lib; {
meta = {
description = "Set utilities that ake advantage of python's 'multiprocessing' module to distribute CPU-intensive tasks";
homepage = "https://pypi.org/project/para";
license = licenses.mit;
maintainers = with maintainers; [ GaetanLepage ];
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ GaetanLepage ];
};
}