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