1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 pytestCheckHook,
6 case,
7 psutil,
8 pythonOlder,
9}:
10
11buildPythonPackage rec {
12 pname = "billiard";
13 version = "4.2.0";
14 format = "setuptools";
15
16 disabled = pythonOlder "3.7";
17
18 src = fetchPypi {
19 inherit pname version;
20 hash = "sha256-mjwxhMsnWqF6cy+T9lsgxSXT2fJTci0mqCGUgDreWiw=";
21 };
22
23 nativeCheckInputs = [
24 case
25 psutil
26 pytestCheckHook
27 ];
28
29 disabledTests = [
30 # psutil.NoSuchProcess: process no longer exists (pid=168)
31 "test_set_pdeathsig"
32 ];
33
34 pythonImportsCheck = [ "billiard" ];
35
36 meta = with lib; {
37 description = "Python multiprocessing fork with improvements and bugfixes";
38 homepage = "https://github.com/celery/billiard";
39 changelog = "https://github.com/celery/billiard/blob/v${version}/CHANGES.txt";
40 license = licenses.bsd3;
41 maintainers = with maintainers; [ ];
42 };
43}