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";
|
2022-12-30 19:12:58 +00:00
|
|
|
version = "4.1.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;
|
2023-02-28 17:04:57 +00:00
|
|
|
hash = "sha256-GtLuro4oBT1ym6M3PTTZ1uIQ9uTYvwqcZPkr0FPx7fU=";
|
2018-03-31 11:59:02 +01:00
|
|
|
};
|
|
|
|
|
2023-01-21 12:00:00 +00:00
|
|
|
nativeCheckInputs = [
|
2021-06-21 12:00:24 +01:00
|
|
|
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";
|
2023-02-28 17:04:57 +00:00
|
|
|
changelog = "https://github.com/celery/billiard/blob/v${version}/CHANGES.txt";
|
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
|
|
|
};
|
|
|
|
}
|