2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, buildPythonPackage, fetchPypi, isPyPy, pytestCheckHook, case, psutil, fetchpatch }:
|
2018-03-31 11:59:02 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "billiard";
|
2020-03-18 19:46:57 +00:00
|
|
|
version = "3.6.3.0";
|
2018-03-31 11:59:02 +01:00
|
|
|
disabled = isPyPy;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-03-18 19:46:57 +00:00
|
|
|
sha256 = "0spssl3byzqsplra166d59jx8iqfxyzvcbx7vybkmwr5ck72a5yr";
|
2018-03-31 11:59:02 +01:00
|
|
|
};
|
2020-12-29 20:45:59 +00:00
|
|
|
patches = [(fetchpatch {
|
|
|
|
# Add Python 3.9 support to spawnv_passfds()
|
|
|
|
# Should be included in next release after 3.6.3.0
|
|
|
|
url = "https://github.com/celery/billiard/pull/310/commits/a508ebafadcfe2e25554b029593f3e66d01ede6c.patch";
|
|
|
|
sha256 = "05zsr1bvjgi01qg7r274c0qvbn65iig3clyz14c08mpfyn38h84i";
|
|
|
|
excludes = [ "tox.ini" ];
|
|
|
|
})];
|
2018-03-31 11:59:02 +01:00
|
|
|
|
2020-12-29 20:45:59 +00:00
|
|
|
checkInputs = [ pytestCheckHook case psutil ];
|
2018-03-31 11:59:02 +01:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/celery/billiard";
|
2018-03-31 11:59:02 +01:00
|
|
|
description = "Python multiprocessing fork with improvements and bugfixes";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
};
|
|
|
|
}
|