2021-06-21 12:00:24 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pytestCheckHook
|
|
|
|
, case
|
|
|
|
, psutil
|
2022-01-12 18:06:25 +00:00
|
|
|
, pythonOlder
|
2021-06-21 12:00:24 +01:00
|
|
|
}:
|
2018-03-31 11:59:02 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "billiard";
|
2021-06-21 12:00:24 +01:00
|
|
|
version = "3.6.4.0";
|
2022-01-12 18:06:25 +00:00
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
2018-03-31 11:59:02 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-06-21 12:00:24 +01:00
|
|
|
sha256 = "0ismj2p8c66ykpss94rs0bfra5agxxmljz8r3gaq79r8valfb799";
|
2018-03-31 11:59:02 +01:00
|
|
|
};
|
|
|
|
|
2021-06-21 12:00:24 +01:00
|
|
|
checkInputs = [
|
|
|
|
case
|
|
|
|
psutil
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
2018-03-31 11:59:02 +01:00
|
|
|
|
2022-06-03 01:02:13 +01:00
|
|
|
disabledTests = [
|
|
|
|
# psutil.NoSuchProcess: process no longer exists (pid=168)
|
|
|
|
"test_set_pdeathsig"
|
|
|
|
];
|
|
|
|
|
2022-01-12 18:06:25 +00:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"billiard"
|
|
|
|
];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-03-31 11:59:02 +01:00
|
|
|
description = "Python multiprocessing fork with improvements and bugfixes";
|
2022-01-12 18:06:25 +00:00
|
|
|
homepage = "https://github.com/celery/billiard";
|
2018-03-31 11:59:02 +01:00
|
|
|
license = licenses.bsd3;
|
2022-01-12 18:06:25 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2018-03-31 11:59:02 +01:00
|
|
|
};
|
|
|
|
}
|