31 lines
632 B
Nix
31 lines
632 B
Nix
|
{ lib
|
||
|
, buildPythonPackage
|
||
|
, fetchPypi
|
||
|
, nose
|
||
|
, pytestCheckHook
|
||
|
}:
|
||
|
|
||
|
buildPythonPackage rec {
|
||
|
pname = "para";
|
||
|
version = "0.0.8";
|
||
|
|
||
|
src = fetchPypi {
|
||
|
inherit pname version;
|
||
|
hash = "sha256-RsMjKunY6p2IbP0IzdESiSICvthkX0C2JVWXukz+8hc=";
|
||
|
};
|
||
|
|
||
|
nativeCheckInputs = [
|
||
|
nose
|
||
|
pytestCheckHook
|
||
|
];
|
||
|
|
||
|
pythonImportsCheck = [ "para" ];
|
||
|
|
||
|
meta = with lib; {
|
||
|
description = "A 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 ];
|
||
|
};
|
||
|
}
|