Files
nixpkgs/pkgs/development/python-modules/billiard/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

44 lines
899 B
Nix
Raw Normal View History

2025-10-09 14:15:47 +02:00
{
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 ];
};
}