1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 pytestCheckHook,
6 setuptools,
7}:
8
9buildPythonPackage rec {
10 pname = "para";
11 version = "0.0.8";
12 pyproject = true;
13
14 src = fetchPypi {
15 inherit pname version;
16 hash = "sha256-RsMjKunY6p2IbP0IzdESiSICvthkX0C2JVWXukz+8hc=";
17 };
18
19 build-system = [ setuptools ];
20
21 nativeCheckInputs = [ pytestCheckHook ];
22
23 pythonImportsCheck = [ "para" ];
24
25 meta = {
26 description = "Set utilities that ake advantage of python's 'multiprocessing' module to distribute CPU-intensive tasks";
27 homepage = "https://pypi.org/project/para";
28 license = lib.licenses.mit;
29 maintainers = with lib.maintainers; [ GaetanLepage ];
30 };
31}