Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
44 lines
899 B
Nix
44 lines
899 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
setuptools,
|
|
pytestCheckHook,
|
|
psutil,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "billiard";
|
|
version = "4.2.2";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "celery";
|
|
repo = "billiard";
|
|
tag = "v${version}";
|
|
hash = "sha256-KUA1ydRoDIALhapDPG4c0C4q0Z72MReHeFCqqGviCNw=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
nativeCheckInputs = [
|
|
psutil
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [ "billiard" ];
|
|
|
|
disabledTests = [
|
|
# time sensitive
|
|
"test_on_ready_counter_is_synchronized"
|
|
];
|
|
|
|
meta = {
|
|
description = "Python multiprocessing fork with improvements and bugfixes";
|
|
homepage = "https://github.com/celery/billiard";
|
|
changelog = "https://github.com/celery/billiard/blob/${src.tag}/CHANGES.txt";
|
|
license = lib.licenses.bsd3;
|
|
maintainers = with lib.maintainers; [ nickcao ];
|
|
};
|
|
}
|