at master 948 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 pytestCheckHook, 7 psutil, 8 pythonOlder, 9}: 10 11buildPythonPackage rec { 12 pname = "billiard"; 13 version = "4.2.1"; 14 pyproject = true; 15 16 disabled = pythonOlder "3.7"; 17 18 src = fetchFromGitHub { 19 owner = "celery"; 20 repo = "billiard"; 21 tag = "v${version}"; 22 hash = "sha256-9LuAlIn6hNiZGvWuaaDQxx9g0aBVF6Z2krxEOrssqRs="; 23 }; 24 25 build-system = [ setuptools ]; 26 27 nativeCheckInputs = [ 28 psutil 29 pytestCheckHook 30 ]; 31 32 pythonImportsCheck = [ "billiard" ]; 33 34 disabledTests = [ 35 # time sensitive 36 "test_on_ready_counter_is_synchronized" 37 ]; 38 39 meta = { 40 description = "Python multiprocessing fork with improvements and bugfixes"; 41 homepage = "https://github.com/celery/billiard"; 42 changelog = "https://github.com/celery/billiard/blob/v${version}/CHANGES.txt"; 43 license = lib.licenses.bsd3; 44 maintainers = with lib.maintainers; [ nickcao ]; 45 }; 46}