Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 pytestCheckHook, 7 psutil, 8}: 9 10buildPythonPackage rec { 11 pname = "billiard"; 12 version = "4.2.2"; 13 pyproject = true; 14 15 src = fetchFromGitHub { 16 owner = "celery"; 17 repo = "billiard"; 18 tag = "v${version}"; 19 hash = "sha256-KUA1ydRoDIALhapDPG4c0C4q0Z72MReHeFCqqGviCNw="; 20 }; 21 22 build-system = [ setuptools ]; 23 24 nativeCheckInputs = [ 25 psutil 26 pytestCheckHook 27 ]; 28 29 pythonImportsCheck = [ "billiard" ]; 30 31 disabledTests = [ 32 # time sensitive 33 "test_on_ready_counter_is_synchronized" 34 ]; 35 36 meta = { 37 description = "Python multiprocessing fork with improvements and bugfixes"; 38 homepage = "https://github.com/celery/billiard"; 39 changelog = "https://github.com/celery/billiard/blob/${src.tag}/CHANGES.txt"; 40 license = lib.licenses.bsd3; 41 maintainers = with lib.maintainers; [ nickcao ]; 42 }; 43}