2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
2024-09-26 11:04:55 +00:00
|
|
|
fetchFromGitHub,
|
|
|
|
setuptools,
|
2024-06-05 15:53:02 +00:00
|
|
|
pytestCheckHook,
|
|
|
|
psutil,
|
|
|
|
pythonOlder,
|
2021-06-28 23:13:55 +00:00
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "billiard";
|
2024-09-26 11:04:55 +00:00
|
|
|
version = "4.2.1";
|
|
|
|
pyproject = true;
|
2022-01-13 20:06:32 +00:00
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2024-09-26 11:04:55 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "celery";
|
|
|
|
repo = "billiard";
|
|
|
|
rev = "refs/tags/v${version}";
|
|
|
|
hash = "sha256-9LuAlIn6hNiZGvWuaaDQxx9g0aBVF6Z2krxEOrssqRs=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2024-09-26 11:04:55 +00:00
|
|
|
build-system = [ setuptools ];
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [
|
2021-06-28 23:13:55 +00:00
|
|
|
psutil
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
pythonImportsCheck = [ "billiard" ];
|
2022-01-13 20:06:32 +00:00
|
|
|
|
2024-09-26 11:04:55 +00:00
|
|
|
meta = {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Python multiprocessing fork with improvements and bugfixes";
|
2022-01-13 20:06:32 +00:00
|
|
|
homepage = "https://github.com/celery/billiard";
|
2023-03-15 16:39:30 +00:00
|
|
|
changelog = "https://github.com/celery/billiard/blob/v${version}/CHANGES.txt";
|
2024-09-26 11:04:55 +00:00
|
|
|
license = lib.licenses.bsd3;
|
|
|
|
maintainers = with lib.maintainers; [ nickcao ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|